fbv81bp / Montgomery_multiply

Montgomery multiplication in number bases that are a power of 2, like binary, hexadecimal, byte-wise etc.
4 stars 1 forks source link

rsa_plain.py key generation error #1

Closed mehfluffy closed 3 years ago

mehfluffy commented 3 years ago

The computation of d does not seem to be correct.

https://github.com/feketebv/Montgomery_multiplication/blob/1032ecb0d73e8af48d662d328231f784b6d8fde2/rsa_plain.py#L6

fbv81bp commented 3 years ago

Thanx. That is not the Euler's totient, I may have accidentially choosen lucky numbers.