Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 Changes in this version + const AddressSize + const HashSize + func CRandBytes(numBytes int) []byte + func CReader() io.Reader + func Checksum(bz []byte) []byte + func Sha256(bytes []byte) []byte + type Address = bytes.HexBytes + func AddressHash(bz []byte) Address + type BatchVerifier interface + Add func(key PubKey, message, signature []byte) error + Verify func() (bool, []bool) + type PrivKey interface + Bytes func() []byte + Equals func(PrivKey) bool + PubKey func() PubKey + Sign func(msg []byte) ([]byte, error) + Type func() string + type PubKey interface + Address func() Address + Bytes func() []byte + Equals func(PubKey) bool + Type func() string + VerifySignature func(msg []byte, sig []byte) bool + type Symmetric interface + Decrypt func(ciphertext []byte, secret []byte) (plaintext []byte, err error) + Encrypt func(plaintext []byte, secret []byte) (ciphertext []byte) + Keygen func() []byte