A tiny offline Base58 password generator written in C.
- Cryptographically secure randomness
- Base58 character set (avoids
0,O,I, andl) - First character is always numeric (a nod to an older Bitcoin wallet convention)
- Single-file utility with no external dependencies
- Small executable (~35 KB)
cc rndpwgen.c -o rndpwgencc rndpwgen.c -o rndpwgenGenerate a 34-character password:
./rndpwgen 34Example output:
7QmF3nKpW6Yt9R...
This program generates passwords entirely offline.
The implementation uses platform-specific cryptographically secure random number generators behind a small abstraction layer while keeping the remainder of the code portable.
MIT
History
This utility was originally written to simplify the generation of long random passwords for environments requiring frequent password changes. It has since been modernized with cryptographically secure randomness while remaining a small, single-file offline utility.