Open sylvainpelissier opened 1 year ago
Change operation $g^m \mod n^2$ to $nm+1 \mod n^2$ in encryption to save the exponentiation operation. Divides encryption time by two for 2048-bit modulus.
Change operation $g^m \mod n^2$ to $nm+1 \mod n^2$ in encryption to save the exponentiation operation. Divides encryption time by two for 2048-bit modulus.