Simple command-line password generator written in Rust
bin | ||
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
RustPass
An easy to use command-line password generator that creates secure passwords. Randomness is seeded cryptographically.
Usage:
./rustpass [number of characters]
or
./rustpass [number of characters] "[excluded characters]"
eg: ./rustpass 32
output: E$bRUSTiPASS*,ISl{!M&<\[COOL0eVw
eg (with excluded characters): ./gopass 32 "$,!"
output: EYbRUSTiPASS*2ISl{?M&<\[COOL0eVw
<- note the excluded characters are not present in the output
How to install/use for Windows:
- Download Windows binary, it may be helpful to simply rename it to "rustpass.exe" to keep commands shorter.
- Move the file to your
C:\Users\[Username]
directory - Opening the console without Administrator privileges will put you in the directory mentioned above by default
- Now type
rustpass [number of characters]
(Ex.rustpass 64
) to generate a new password!
How to install/use for Linux:
- Download Linux binary, it may be helpful to simply rename it to "rustpass" to keep commands shorter.
- Move the file to your home directory.
chmod +x rustpass
if necessary- Opening your terminal should put you in your home directory by default, if not, just type
cd
to get sent back to home. - Now type
./rustpass [number of characters]
(Ex../rustpass 64
) to generate a new password!