This is a simple library for producing public keys from corresponding private keys using Ed25519, but with Blake2b as the hashing algorithm. Note that this is not a full-featured Ed25519 hashing library at this time, but that could change in the future.
Add this line to your application's Gemfile:
gem 'ed25519_blake2b'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ed25519_blake2b
Right now there is only one method available for use, that produces a public key from a private key. The private key is currently expected to be 64 bytes in length.
Ed25519Blake2b.public_key(private_key)
Bug reports and pull requests are welcome on GitHub at https://github.com/Kitepay/ed25519_blake2b. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Ed25519Blake2b project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.