diff options
author | Nicholas Tay <nick@windblume.net> | 2022-01-14 00:30:02 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-01-14 00:30:02 +1100 |
commit | 8a7d4c782a01fdb992d9d73b7114de6219461007 (patch) | |
tree | b330a3f5f31661e3ed7a33a82d6989de7fc0cc37 | |
parent | a2f5bce2bd1e462f9cd26d3278ff7dd355bf9540 (diff) | |
download | passgen-8a7d4c782a01fdb992d9d73b7114de6219461007.tar.gz passgen-8a7d4c782a01fdb992d9d73b7114de6219461007.tar.bz2 passgen-8a7d4c782a01fdb992d9d73b7114de6219461007.zip |
Update readme
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -2,7 +2,13 @@ Just a password generator that makes [passwds.ninja](https://passwds.ninja/)-style passwords. -Heavily inspired by a generator I used before at work, just that this time in C. (This is my first C project, please be gentle...) +Heavily inspired by a generator I used before at work (in Python), just that this time in C. + +As such, it utilises 'grammars' of character classes, which can be efficiently be mixed and matched on the fly, and/or the grammars themselves being able to be easily customised at compile-time. + +See `passgen --help` for details. + +(This is my first C project, please be gentle... some of the decisions I made may look weird or seem like I'm going out of my way to do something - some of these are done intentionally as a way for me to familiarise myself more with the features of the language.) ## Compiling @@ -14,6 +20,8 @@ $ make $ cl /std:c11 passgen.c /link Advapi32.lib ``` +NOTE: Compilation with mingw will use the fallback RNG for password generation. This utilises `rand()` in C, seeded with the time and PID - may be unsafe! On Windows with `cl`, \*nix, macOS, Free/OpenBSD, the relevant system calls will be utilised to get better quality randomness. See the `_rng` functions for details. + ## Licence Zlib |