go-crpt provides interfaces and implementations for common crypto operations in Go.
It's especially useful for DLT projects.
See godoc.
EPackage ed25519
provides an Ed25519 implementation backed by
curve25519-voi package.
Note: earlier version of this package uses the following packages, replaced by curve25519-voi because benchmarks show that it has the better performance and supports signing pre-hashed messages by implementing Ed25519ph.
Old docs:
Package
ed25519
provides an Ed25519 implementation backed by crypto/ed25519 std package, but using ed25519consensus package for signature verification, which conforms to ZIP 215 specification, making it suitable for consensus-critical contexts, see README from ed25519consensus for the explanation.It also provides an Ed25519-SHA3-512 implementation backed by go-ed25519-sha3-512 package, which is a fork of crypto/ed25519 std package, modified to use SHA3-512 instead of SHA-512. using go-ed25519consensus-sha3-512 package for signature verification, which is a fork of ed25519consensus package, modified to use SHA3-512 instead of SHA-512. So it's also suitable for consensus-critical contexts.
- crypto std package
- github.com/tendermint/tendermint/crypto package
MIT © DAOT Labs.