Crates.io | codephrases |
lib.rs | codephrases |
version | 0.0.1 |
source | src |
created_at | 2020-09-18 13:02:50.272781 |
updated_at | 2020-09-18 13:02:50.272781 |
description | Generate human memorizable codephrases |
homepage | |
repository | https://gitlab.com/hakan-geijer/codephrases |
max_upload_size | |
id | 290108 |
size | 96,385 |
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"
The word lists are adapted from jist/js-utils at commit 2639462
which is Apache 2.0 licensed.
MIT (see LICENSE
).