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.