Closed tillmannheigel closed 9 years ago
As mentioned in the other issue: The data you want to encrypt is too large. RSA only can encrypt data up to the size of it's key.
You should read about the pros and cons of RSA. Then you will notice that RSA isn't designed for encrypting big data sets. The main purposes of RSA are:
Hi I've got the same bug as in #17 here ("MIHCrypto", "~> 0.3.2"). These are my lines of code:
The problem is the same as in #17:
error: OpenSLL internal error! (Code=67522668,Description=error:0406506C:rsa routines:RSA_EAY_PRIVATE_DECRYPT:data greater than mod len)
Do you have any Idea??