Click here to Skip to main content
15,910,886 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How to check password of login form by encrypting/Decrypting the text.
if some one having code then forward it please.
Posted
Comments
Sergey Alexandrovich Kryukov 3-Aug-12 12:45pm    
Why would you need to decrypt a password, ever? This is against security. Do you think decryption is needed for authentication, or something? Then thing again...
--SA
Sandeep Mewara 3-Aug-12 12:55pm    
You have not shared what you have tried. Nor the language in which you are trying.
Sergey Alexandrovich Kryukov 3-Aug-12 13:54pm    
It does not really matter -- the whole idea is already totally wrong, no matter how to apply it. It is fully explained in Solution 1 and 2 (mine) :-)
--SA

Decryption of a password is never needed. And no one is supposed to know any passwords, no matter how much permission a person has. Only one person in the world should know the password: the owner of it, the one who created a password.

You may ask, how authentication is possible then? Well, think a bit, perhaps you can understand the schema. Not yet?

[EDIT]

I've explained this matter in my past answers:
storing password value int sql server with secure way[^],
Decryption of Encrypted Password[^].

—SA
 
Share this answer
 
v3
Read this article, it might help you:
The Art & Science of Storing Passwords[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Aug-12 12:51pm    
Good enough, a 5.
As to me, I explained it directly and in brief, I think it's clear enough, please see.
--SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900