Posted 02 August 2013 - 04:28 PM
Hi,
I'm trying to code the RSA algorithm in lua. Now, after hours i have problems with generating the Private key.
The step is: "Compute d, the modular multiplicative inverse of e (mod φ(n)) yielding"
How should i do this in Lua? I tried around with some Code, bit everytime i got wrong results. :(/>
I'm trying to code the RSA algorithm in lua. Now, after hours i have problems with generating the Private key.
The step is: "Compute d, the modular multiplicative inverse of e (mod φ(n)) yielding"
How should i do this in Lua? I tried around with some Code, bit everytime i got wrong results. :(/>