Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyMultipleSignatures ¶
VerifyMultipleSignatures verifies multiple signatures for distinct messages securely.
Types ¶
type PublicKey ¶
func AggregateMultiplePubkeys ¶
AggregateMultiplePubkeys aggregates multiple BLS public keys. Assumes that all given public keys are previously validated. Returns error if an empty slice is given.
func AggregatePublicKeys ¶
AggregatePublicKeys unmarshals and validates multiple BLS public key from bytes and then aggregates them. Returns error if an empty slice is given.
func MultiplePublicKeysFromBytes ¶
MultiplePublicKeysFromBytes unmarshals and validates multiple BLS public keys from bytes. Returns an empty slice if an empty slice is given.
func PublicKeyFromBytes ¶
PublicKeyFromBytes unmarshals and validates a BLS public key from bytes.
type SecretKey ¶
func SecretKeyFromBytes ¶
SecretKeyFromBytes unmarshals and validates a BLS secret key from bytes.
type Signature ¶
func AggregateCompressedSignatures ¶
AggregateCompressedSignatures unmarshals and validates multiple BLS signatures from bytes and then aggregates them. Returns error if an empty slice is given.
func AggregateSignatures ¶
AggregateSignatures aggregates multiple BLS signatures. Assumes that all given signatures are previously validated. Returns error if an empty slice is given.
func MultipleSignaturesFromBytes ¶
MultipleSignaturesFromBytes unmarshals multiple BLS signatures from bytes. Returns an empty slice if an empty slice is given.
func SignatureFromBytes ¶
SignatureFromBytes unmarshals and validates a BLS signature from bytes.