Function bls_signatures::verify
source ยท pub fn verify(
signature: &Signature,
hashes: &[G2Projective],
public_keys: &[PublicKey],
) -> bool
Expand description
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)
.