Generate strong passwords, which you can remember.
The aim of this project is to deepen my Rust language skills.
- Entropy check
- File handling
- Handle newlines for Windows, Linux and Mac
- Written in the Rust programming language
- Unit tests
Rust >= v1.74.1
First, you need to have Rust installed on your computer.
Open a terminal:
- Windows: run
Windows Terminal
,cmd
, orPowerShell
. - Mac: run
Terminal
. - Linux: run
Terminal
.
In the project root folder, run: cargo run
- Vowels:
a, e, i, o, u
- Consonants:
b, c, d, f, g, h, j, k, l, m, n, p, q, r, s, t, v, w, x, y, z
- Numbers:
0-9
- Special characters:
!, +, \, #, /, $, ?
- Length: 16-64 characters
- Combination of vowels and consonants
- Lowercase and uppercase
WukovianeMako18!
MeriKunoMata32#?
XuniWabeTim1928!
FaweXanaToboYisoXiyoSareDahaY08/
I used ideas from:
- Irma Šlekytė: Password entropy: Definition and formula (Last access: January 1st, 2024.)
- How to Calculate Password Entropy? (Last access: January 1st, 2024.)
- Aranza Trevino: Top Five Password Security Tips (Last access: December 25th, 2023.)
- Neil J. Rubenking: 3 Simple Tricks for Remembering Strong Passwords (Last access: December 25th, 2023.)
Please see LICENSE file.
I started the project on 25th December, 2023.