Crate ec_pairing
source ·Expand description
Tate Pairing
This crate provides pairing arithmetic and also supports fully no_std
and parity-scale-codec
.
Specification
$$ e(aG, bH) = e(G, H)^{ab}\ where\ a,b \in F_r,~G \in G_1,~H \in G_2 $$
Test
$ cargo test
Structs
- Tate pairing struct holds necessary components for pairing.
pairing
function takes G1 and G2 group elements and output GT target group element.