Hi guys !!
I have a user login in my web site...i want to know how can we implement RSA cryptography using Security namespace in c#
I just know that we can use System.Security.Cryptography.
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mahesh ChandPosted Jun 3, 2009, 9:49 AM
Also, in the left side bar of the home page of this site, if you click on Cryptography, you will many articles and tutorials on this topic.
Vipul KelkarPosted Jun 3, 2009, 7:42 AM
I am able to encrypt and decrypt a text . While authenticating a user, what shoul I do.Comare the ciphertext of the Passwords or decrypt them and compare.
I cant compare the ciphertexts,cos everytime the RSA class uses a random key.So the ciphertext used while storing the passwd may not be the same as while comparing.
Secondly, when i fetch a value of passwd from the database,it should be in the Byte[] form so that i can decrypt it.How do i store a Byte value in sql server.
Posted Jun 3, 2009, 4:23 AM
Check out the cryptography section in our C-sharp corner website..That will help u a lot...anyway
http://www.c-sharpcorner.com/UploadFile/sushmita_kumari/Encryption103072006014348AM/Encryption1.aspx
Hope it helps...