pgp-words
Crate for transforming bytes (u8
) into PGP words and back.
Status: functions to_bytes
and to_words
are working, but need documentation.
extern crate pgp_words;
to_bytes
returns Option<Vec<u8>>
, because you can pass words that are not part of the list or that have the wrong evenness, there are no attempts to recover and pgp_words
would return None
.
License
pgp-words
is MIT licensed. 2018, Tim Marinin mt@marinintim.com
Words were taken from the Wikipedia entry on 2018-06-20.