Crates.io | mnemyme |
lib.rs | mnemyme |
version | 0.1.0 |
source | src |
created_at | 2022-10-03 13:33:48.375056 |
updated_at | 2022-10-03 13:33:48.375056 |
description | Encode and decode integers based on the EFF large word list |
homepage | |
repository | |
max_upload_size | |
id | 678998 |
size | 66,532 |
This crate can be used to transform u32
values (IDs) to user-friendly word triples.
The word list is based on the EFF large word list
which can encode nearly 13 bits. Therefore, the base for this crate is 12 bits, which effectively uses only 4096
items from the list. To encode a u32
value, three words are required.
The wordlist is statically compiled into the library and cannot be changed.
cargo build