标签: python cryptography multiplication charm-crypto
我需要将一个group元素与另一个不改变其值的group元素相乘。由于配对组元素的整数乘法将改变其值。
group = PairingGroup('SS512') g= group.random(G1) g*1 ==> some other pairing group element g*g_identity = g # Is there any g_identity element defined in charm crypto?