1 unstable release
0.0.1 | Sep 18, 2020 |
---|
#79 in #human
91KB
5.5K
SLoC
codephrases
A Rust library for generating memorable code phrases in the form AdjectiveNounVerbAdverb.
Note that this library has insufficient entropy for generating passphrases. You probably want diceware for that.
use codephrases::random_codephrase;
let phrase = random_codephrase();
// "PinkContradictionsYellFast"
License
The word lists are adapted from jist/js-utils at commit 2639462
which is Apache 2.0 licensed.
MIT (see LICENSE
).
lib.rs
:
codephrases
Generate easy to memorize codephrases for sharing authentication. The word lists are based off the room name generator for Jitsi Meet.
Note that this library has insufficient entropy for generating passphrases. You probably want diceware for that.
Example
use codephrases::random_codephrase;
let phrase = random_codephrase();
// "PinkContradictionsYellFast"
Dependencies
~1.4–2.3MB
~39K SLoC