Cryptography/Encryption
-
Dear All. I want to store my data(username and password) in SQL using c#. I want to encrypt the password using C# cryptography. I want to store this encrypted password in database. How? Later I want to decrypt the password while reteriving it from database. Actually what happens in real time ? How they store password ? Can any one clear my doubt ? Thanx,
-
Dear All. I want to store my data(username and password) in SQL using c#. I want to encrypt the password using C# cryptography. I want to store this encrypted password in database. How? Later I want to decrypt the password while reteriving it from database. Actually what happens in real time ? How they store password ? Can any one clear my doubt ? Thanx,
Mr Perfect wrote:
I want to encrypt the password using C# cryptography
Then have a look here [^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
Dear All. I want to store my data(username and password) in SQL using c#. I want to encrypt the password using C# cryptography. I want to store this encrypted password in database. How? Later I want to decrypt the password while reteriving it from database. Actually what happens in real time ? How they store password ? Can any one clear my doubt ? Thanx,
the plaintex(text to encrypt) will be encrypted to some other format,sothat you cant identify the original text.Its called cipher text.And this is the better way to save passwords in the database. you can retrieve the orginal text by decrypting the cipher text. You can use any one of the encryption technique.But you need to decrypt that before use
My small attempt...
-
Dear All. I want to store my data(username and password) in SQL using c#. I want to encrypt the password using C# cryptography. I want to store this encrypted password in database. How? Later I want to decrypt the password while reteriving it from database. Actually what happens in real time ? How they store password ? Can any one clear my doubt ? Thanx,
Pwd can be stored using any alogorithm u choose MD5,Sha256 or ur own Algorithm. The encrypted values are soterd to maintain privacy. This algorithm are one-way algorithm so can only be encrypted but cannot be decrypted. So next time when pwd is entered . the code behind will generate the same encryted value that will be matched with the db value.
-
Dear All. I want to store my data(username and password) in SQL using c#. I want to encrypt the password using C# cryptography. I want to store this encrypted password in database. How? Later I want to decrypt the password while reteriving it from database. Actually what happens in real time ? How they store password ? Can any one clear my doubt ? Thanx,
to store encrypted passwords in a database, you can use salted hash technique. you can find a lot of articles on this topic if you google for 'salted hash' regards
-
Pwd can be stored using any alogorithm u choose MD5,Sha256 or ur own Algorithm. The encrypted values are soterd to maintain privacy. This algorithm are one-way algorithm so can only be encrypted but cannot be decrypted. So next time when pwd is entered . the code behind will generate the same encryted value that will be matched with the db value.
nide reply!!! :-O
First and the Foremost: FIGHT TO WIN About Me