Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + const PublicKeyLen + const SecretKeyLen + const SignatureLen + var ErrNoPublicKeys = errors.New("no public keys") + func PublicKeyToBytes(pk *PublicKey) []byte + func SecretKeyToBytes(sk *SecretKey) []byte + func SignatureToBytes(sig *Signature) []byte + func Verify(pk *PublicKey, sig *Signature, msg []byte) bool + func VerifyProofOfPossession(pk *PublicKey, sig *Signature, msg []byte) bool + type AggregatePublicKey = blst.P1Aggregate + type AggregateSignature = blst.P2Aggregate + type PublicKey = blst.P1Affine + func AggregatePublicKeys(pks []*PublicKey) (*PublicKey, error) + func PublicFromSecretKey(sk *SecretKey) *PublicKey + func PublicKeyFromBytes(pkBytes []byte) (*PublicKey, error) + type SecretKey = blst.SecretKey + func NewSecretKey() (*SecretKey, error) + func SecretKeyFromBytes(skBytes []byte) (*SecretKey, error) + type Signature = blst.P2Affine + func AggregateSignatures(sigs []*Signature) (*Signature, error) + func Sign(sk *SecretKey, msg []byte) *Signature + func SignProofOfPossession(sk *SecretKey, msg []byte) *Signature + func SignatureFromBytes(sigBytes []byte) (*Signature, error) v1.9.8-rc.9 Jun 28, 2023