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.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Change operation
g^m \mod n^2tonm+1 \mod n^2in encryption to save the exponentiation operation. Divides encryption time by two for 2048-bit modulus.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.