Page 1 of 1

Working with RSA hashes in C#

Posted: Wed Mar 26, 2008 4:18 pm
by grimdoomer
I dont know much about RSA hashes, but I want to start working with them for a cuple projects and exsperiments. First off all I really want to know is how can I give my RSA a premade key? I've gotten this far, but have not been able to give it a key:

Code: Select all

RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();
byte[] Hash = RSA.Encrypt(TestingByteArray, false);