A simple library for converting sequences of bytes into unambiguous English words.
Uses the "official" word list: https://philzimmermann.com/docs/PGP_word_list.pdf
Add this to your application's
dependencies: pgp-wordlist: github: woodruffw/pgp-wordlist.cr
require "pgp-wordlist" PGP::Wordlist.from_hexstring "0123 cdef" # => "absurd cannonball spindle unravel" bytes = [0xfe_u8, 0xed_u8, 0xfa_u8, 0xce_u8] PGP::Wordlist.from_bytes bytes # => "woodlark unify wallet sardonic"
- Fork it (https://github.com/woodruffw/pgp-wordlist.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- woodruffw William Woodruff - creator, maintainer