Possible Duplicate:
Can RSACryptoServiceProvider (.NET’s RSA) use SHA256 for encryption (not signing) instead of SHA1?
When using RSACryptoServiceProvider
for encryption the default hash algorithm obviously is SHA-1
. How can I define another hash algorithm like SHA-512
when encrypting data (using the Encrypt
method)? I did not find any property related to the hash algorithm.