Crate bls_signatures

Source

Structs§

PrivateKey
PublicKey
Signature

Enums§

Error

Traits§

Serialize

Functions§

aggregate
Aggregate signatures by multiplying them together. Calculated by signature = \sum_{i = 0}^n signature_i.
hash
Hash the given message, as used in the signature.
verify
Verifies that the signature is the actual aggregated signature of hashes - pubkeys. Calculated by e(g1, signature) == \prod_{i = 0}^n e(pk_i, hash_i).
verify_messages
Verifies that the signature is the actual aggregated signature of messages - pubkeys. Calculated by e(g1, signature) == \prod_{i = 0}^n e(pk_i, hash_i).