Click here to Skip to main content
14,638,759 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am a learner in creating password encryption and decryption using RSA Algorithm. I want to create SHA256 with 2048 keysize for user to login and register.

What I have tried:

i don't know how to start please explain me in brief creating a keycontainer thanks in advance
Posted
Updated 29-Oct-18 2:02am
Comments
Nathan Minier 29-Oct-18 7:06am
   
The place to start is to determine if you're going to support FIPS or not. If you don't, the RijndaelManaged class makes life pretty easy.

If you do, or might, need FIPS you'll need to use the AesCryptoServiceProvider class.
F-ES Sitecore 29-Oct-18 7:29am
   
I suggest you start by googling. This is a huge subject that is already extensively documented.
Member 8583441 29-Oct-18 7:32am
   
I am searching for it getting the results from YouTube videos but they are considering KeyContainer in it from where they are getting I really doesn't know about it

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

NEVER encrypt passwords. ALWAYS hash them instead.

Salted Password Hashing - Doing it Right[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100