Hi all. I have a "little" problem using RSA encryption in a compatible way between Delphi and Php. I found several class for Php and several cmponents for Delphi and they all work fine but when I try to decrypt with Php a string encrypted in Delphi (or viceversa) my code fails: simply returned string isn't the expected one. Googling I found that the problem (if I correctly understood) is the key-pair generation: it seems that Php and Delphi generate different key pairs and I don't know how to make them use the same keys.
Here at EE I found this thread (http://www.experts-exchange.com/Q_22448553.html
) which seems to provide a solution but using suggested library and suggested components didn't solve my problem. I'm sure that is something I do wrong or I simply do not but what it is? Any suggestion will be appreciated.
Thanks to all.