2 stable releases
1.1.4 | Oct 1, 2022 |
---|---|
1.1.3 | Oct 19, 2020 |
1.0.1 |
|
1.0.0 |
|
#805 in Authentication
Used in genrepass-cli
31KB
511 lines
Readable password generator (library)
Library for generating readable passwords from an ordered list of words extracted from text. For improved security, numbers and special characters are inserted at random places.
The point is to replace the standard password generation that is very tedious to input manually, with a still very secure but much easier to write password. For the rare occasion where you have to input it manually, like on a smartphone you're not syncing them to. It also makes for some interesting passwords, depending on what you choose to use as source.
Written based on a Computerphile video: How to Choose a Password.
Some examples of possible passwords
Hemanag6estogetami~ssion
ModsSo$ThatPeopleAre7AbleTo
5Th~ingsT<0hatThrowYouOff
Fr68omTheseMeth&odsY#ouCanT
AtLeastEvo]keA,Menta3lImage
CanJus6tDownloadItB^utTheBe]ne3fit
TheP~edanticTutorialsOfE1veryS^i7ngle
therearetoomAny{volum9estob(eadaptedi9ntoThe
Documentation
Can be found at docs.rs/genrepass.
History
This used to be a binary crate that was a port of my own shell script, which I wrote as practice while learning Rust and ended up improving it in various aspects.
Realising the main functionality could be made into a library, I extracted it and ended up improving the program once again, this time with much better error handling and logical API with good documentation.
The command line application that was once part of this crate is now called genrepass-cli.
Donate
Please consider supporting me through donate.alexchaplinbraz.com to motivate me to keep working on this project.
License
MIT
Dependencies
~4–5.5MB
~98K SLoC