0.0
No commit activity in last 3 years
No release in over 3 years
Ruby library for ed25519, but with blake2b as the hashing function as required by the Nano cryptocurrency.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
 Project Readme

Ed25519Blake2b

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.

Installation

Add this line to your application's Gemfile:

gem 'ed25519_blake2b'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ed25519_blake2b

Usage

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)

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Ed25519Blake2b project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.