By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,336 Members | 2,315 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,336 IT Pros & Developers. It's quick & easy.

How do I decrypt a password from database

P: 1
How do I decrypt a password from the database?
May 17 '07 #1
Share this Question
Share on Google+
4 Replies


code green
Expert 100+
P: 1,726
You can't decrypt. You have to store a copy of the crypted word in the database when it is created. Then compare the two encrypted versions.
May 17 '07 #2

Motoma
Expert 2.5K+
P: 3,235
You can't decrypt. You have to store a copy of the crypted word in the database when it is created. Then compare the two encrypted versions.
This is not necessarily true. The Original Poster did not give us enough information to give an answer to this question.
May 17 '07 #3

Motoma
Expert 2.5K+
P: 3,235
hpw to decrypt a password from database
Often, passwords are HASHED before being put into a database, as opposed to ENCRYPTED. The difference is that a hashing function has a one to many relationship between the original text and the result text. This makes it impossible to directly gather the original text when given the hash. MD5 and SHA1 are two such hashing functions.

On the other hand, if you know the passwords were encrypted with a method such as DES or RSA, you will need to know some specific information about the way it was encrypted, namely a private key.
May 17 '07 #4

code green
Expert 100+
P: 1,726
How true. I maybe jumped the gun trying to GUESS the problem
May 18 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.