Crates.io | eff-wordlist |
lib.rs | eff-wordlist |
version | 1.0.3 |
source | src |
created_at | 2019-02-03 15:25:17.296046 |
updated_at | 2024-03-25 20:59:24.369829 |
description | Rust crate packaging EFF wordlist |
homepage | |
repository | https://github.com/cyplo/eff-wordlist-rs |
max_upload_size | |
id | 112387 |
size | 255,990 |
This crate exposes the EFF wordlists under a Rust API.
See EFF's blog post for more information about the wordlists.
It contains both large
and short
wordlists, each of them available via their respective modules.
large
wordlist:You can ask for a random word
let word = eff_wordlist::large::random_word();
or use the list as it is
let (first_roll, first_word) = eff_wordlist::large::LIST[0];
assert_eq!(11111, first_roll);
assert_eq!("abacus", first_word);