Can I decrypt the ciphertext encrypted by using the built-in RSA method in asp using the RSA method in PHP?

Source: Internet
Author: User
Asp can decrypt the ciphertext encrypted by using the built-in RSA method with the RSA that comes with PHP. this is now the case. here (Company A) there is something that was previously outsourced to Company B, ASP is used on the other side, and PHP is used on the company side. now B needs to be used. Now A generates the private key and public key (refer to blog. csdn. netclh604articledetails20224735), provided to the public key B. can B use asp in asp to decrypt the ciphertext encrypted by the built-in RSA method in PHP?
This is the case now. here (Company A) has A thing that was previously outsourced to Company B. ASP is used over there, and PHP is used on the company side,
Now use B needs now, now A generated private key and public key (refer to the http://blog.csdn.net/clh604/article/details/20224735), provided to B public key, B using the rsa encryption function in asp and this public key encrypted ciphertext, can A be decrypted using the rsa decryption function and private key provided by php?
The Cainiao did not score points and asked the experts with relevant experience to solve the problem. (is it true that the RSA algorithms in PHP and ASP are common ?)
------ Solution --------------------
Theoretically, it is acceptable, as long as the algorithm is implemented in the same way.
You should give C # code, public key and private key, and several sets of plaintext and ciphertext.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.