mnemyme

Crates.iomnemyme
lib.rsmnemyme
version0.1.0
sourcesrc
created_at2022-10-03 13:33:48.375056
updated_at2022-10-03 13:33:48.375056
descriptionEncode and decode integers based on the EFF large word list
homepage
repository
max_upload_size
id678998
size66,532
Philipp Bender (phbender)

documentation

README

A crate to word list encode IDs

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.

Build

cargo build
Commit count: 0

cargo fmt