1e96d9b435
The code was using a hardcoded 257 as the RSA public exponent, but it was raising RSA Invalid Construct. From reading MEGA's webclient js I found that the public exponent sometimes defaults to 257, but in other cases is calculated from a modular inverse on the private exponent and phi=p-1*q-1. |
||
---|---|---|
.. | ||
mega | ||
tests |