| Package | Description |
|---|---|
| ch.epfl.dedis.lib.crypto |
| Modifier and Type | Method and Description |
|---|---|
BN.GT |
Bn256G1Point.pair(Bn256G2Point g2)
Perform the pairing operation on this point and G2.
|
boolean |
BlsSig.verify(byte[] msg,
Bn256G2Point X)
Verify checks the given BLS signature S on the message m using the public
key X by verifying that the equality e(H(m), X) == e(H(m), x*B2) ==
e(x*H(m), B2) == e(S, B2) holds where e is the pairing operation and B2 is
the base point from curve G2.
|
Copyright © 2019. All rights reserved.