Closed jesili closed 2 weeks ago
And i found that $g_1^{0}$ is equal to 0, since it's the add group?
to compute e(g1^a-b/(c+d), g2^(c+d)) = e(g1^a g1^-b, g2) but the equality is not hold
The equation does not hold.
$e(g_1^{(a-b)/(c+d)}, g_2^{c+d})=e(g_1^a g_1^{-b}, g2)$ is correct.
My library treas G1
and G2
as additive groups and GT
as a multiplicative group.
to compute e(g1^a-b/(c+d), g2^(c+d)) = e(g1^a g1^-b, g2) but the equality is not hold
The equation does not hold.
e(g1(a−b)/(c+d),g2c+d)=e(g1ag1−b,g2) is correct.
My library treas
G1
andG2
as additive groups andGT
as a multiplicative group.
Sorry, i type wrong. But the code is computed as the right equation
Mcl.mul(g1uy, g1, b);
It is not correct.
Mcl.mul(g1yu, g1, uy); // g1^(-b)
Then, it shows true
.
Thank you very much, I've found that most of my errors are due to carelessness. I have addressed this problem, excited!
I have the following code, to compute $e(g_1^{a-b/(c+d)}, g_2^{c+d})=e(g_1^ag^{-b}, g_2)$ but the equality is not hold