sts10 / phraze

Generate random passphrases
https://sts10.github.io/2023/10/24/phraze-passphrase-generator.html
Mozilla Public License 2.0
24 stars 3 forks source link

Implement an easy-to-use "Secure" mode #7

Closed sts10 closed 1 year ago

sts10 commented 1 year ago

While I'm happy with the new default of 80 bits of entropy, I was thinking I could add a -S/--secure flag that guarantees that the outputted passphrase has 105 bits of entropy or more.

Basically, make phraze -S an alias for phraze -e 105.

sts10 commented 1 year ago

Implemented in #11. Came out a bit different in practice, but I like it for its balance between usability and code readability.