Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have to Change the Login Password of my project. Previous Developer Developer Decrypt this password from code and The password in database table is MTIz, So now I have To Change this Password
,, So Plz Help me in this ..

Thanks

What I have tried:

SELECT [Password] FROM [Tbl_Admin] WHERE [Password]=PWDENCRYPT('MTIz')
Posted
Updated 31-Mar-16 19:00pm
Comments
Nigam,Ashish 1-Apr-16 3:28am    
You have to check decryption logic/function in your database/application code.
Richard Deeming 1-Apr-16 13:48pm    
So you're storing your passwords Base64-encoded - that's not encryption, and you might as well be storing the passwords in plain-text.

You should only ever store a salted hash of the password, using a unique salt per record:
Secure Password Authentication Explained Simply[^]
Salted Password Hashing - Doing it Right[^]

1 solution

"MTIz" is base 64 string. It's mean password is "123". Try it...
 
Share this answer
 

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