Dear Sir/Madam,
I'm currently using Crypt::OpenSSL::RSA module with perl to encrypt/decrypt message and transport over HTTP POST request to Java application on the other side. When Encrypting with the given public key, Java application can receive the data perfectly. But when Java side encrypt message with private key (which is the pair for our public key), and reply back, we found the following error while trying to decrypt message:
RSA.xs:202: OpenSSL error: block type is not 01 at ...
However, Java side claimed that this encrypt/decrypt process has been working with the RSA code written with Java and ASP.net.
Please kindly suggest if there is any workaround solution on Perl for this matter.
Thank you and Best Regards,
Phakin Ch.
|