Password Generator
October 19, 2023
🇧🇷 Versão em PortuguêsInspired by this article from The Intercept on the diceware method — the idea that a passphrase made of a few random words is both easier to remember and harder to crack than a typical password.
This small C program generates a 4-word passphrase using that exact method. For each word, you roll a die 6 times, enter the result as a number, and the program looks up the corresponding word in a large wordlist — making the output genuinely random without relying on any algorithm to decide it. You also pick the language for each word independently, choosing between Portuguese, English, and Italian, so you can mix languages in the same passphrase.
Stack: C.
Technologies: C