Add first version of cryptographically secure password generator #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the first version of a cryptographically secure password generator.
Note
The goal here was not to write something novel or new; I am well aware that there are already several password generators available that are built with Rust. This is purely an exersize for me to gain more proficiency in Rust, and to update an old tool from my toolset to something modern.
For those reviewing this PR I am particularly interested in feedback on the following
For additional context, here is the PHP code that this Rust crate replaced:
For those not proficient with php here is what the code above does:
-) instead.fLH7-KpZg-HMWx-2CEV-G8L.Thank you for reviewing this code!