codephrases 0.0.1

Generate human memorizable codephrases
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 95.86 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.58 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hakan-geijer

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).