[][src]Function bls_signatures::verify

pub fn verify(
    signature: &Signature,
    hashes: &[G2],
    public_keys: &[PublicKey]
) -> bool

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).