Versions in this module Expand all Collapse all v0 v0.8.14 Sep 15, 2021 Changes in this version + const AddressSize + const Version + func CRandBytes(numBytes int) []byte + func CRandHex(numDigits int) string + func CReader() io.Reader + func HashSum(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