pgp-wordlist.cr
pgp-wordlist.cr
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
Installation
Add this to your application's shard.yml
:
dependencies:
pgp-wordlist:
github: woodruffw/pgp-wordlist.cr
Usage
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"
Contributing
- 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
Contributors
- woodruffw William Woodruff - creator, maintainer
Repository
pgp-wordlist.cr
Owner
Statistic
- 2
- 0
- 0
- 0
- 0
- over 4 years ago
- January 26, 2018
License
Other
Links
Synced at
Thu, 07 Nov 2024 23:37:54 GMT
Languages