Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + const BLSPubkeyLength + var ErrInfinitePubKey = errors.New("received an infinite public key") + var ErrSecretUnmarshal = errors.New("could not unmarshal bytes into secret key") + var ErrZeroKey = errors.New("received secret key is zero") + var InfinitePublicKey = [BLSPubkeyLength]byte + var InfiniteSignature = [96]byte + var ZeroSecretKey = [32]byte + type PublicKey interface + Aggregate func(p2 PublicKey) PublicKey + Copy func() PublicKey + Equals func(p2 PublicKey) bool + IsInfinite func() bool + Marshal func() []byte + type SecretKey interface + Marshal func() []byte + PublicKey func() PublicKey + Sign func(msg []byte) Signature + type Signature interface + AggregateVerify func(pubKeys []PublicKey, msgs [][32]byte) bool + Copy func() Signature + Eth2FastAggregateVerify func(pubKeys []PublicKey, msg [32]byte) bool + FastAggregateVerify func(pubKeys []PublicKey, msg [32]byte) bool + Marshal func() []byte + Verify func(pubKey PublicKey, msg []byte) bool