IT Community - Software Programming, Web Development and Technical Support

How can i fetch the encrypted password in decrypted formet

This is a discussion on How can i fetch the encrypted password in decrypted formet within the PHP Programming forums, part of the Web Development category; Hi, i used the md5 Algm. to encrypt the password.But i dont know how to fetch the decrypted password. ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-25-2007, 11:51 PM
Vani Sri Vani Sri is offline
D-Web Trainee
 
Join Date: Aug 2007
Posts: 33
Vani Sri is on a distinguished road
Default How can i fetch the encrypted password in decrypted formet

Hi,
i used the md5 Algm. to encrypt the password.But i dont know how to fetch the decrypted password.
eg:

$ge1 ="select *from user where email='".$email."'";
$geres1 = mysql_query($ge1,$conn) or die(mysql_error());
while ($re = mysql_fetch_array($geres1))
{
$password=$re['pwd'];
}
$re['pwd']->is encrypted

Last edited by Vani Sri : 10-25-2007 at 11:57 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-26-2007, 02:54 AM
ursklakshmanan ursklakshmanan is offline
D-Web Trainee
 
Join Date: Aug 2007
Posts: 14
ursklakshmanan is on a distinguished road
Default Re: How can i fetch the encrypted password in decrypted formet

Hi vani

Your terminology is wrong; MD5 is an Hashing algorithm, not an Encryption algorithm, and as such there is no way to reliably get the original string.

This is the prime reason why MD5 is used for passwords; in the case that an attacker penetrates your security, the passwords are still unusable (without rainbow tables or heavy processing power).
If u fetch for FORGET PASSWORD than it is better to use base64_encode or any other format which is having encryptng and decrypting technology.
I hope u can get idea after this.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 06:56 AM
Vani Sri Vani Sri is offline
D-Web Trainee
 
Join Date: Aug 2007
Posts: 33
Vani Sri is on a distinguished road
Default Re: How can i fetch the encrypted password in decrypted formet

Hi lakshman,

Thank you.
I got the result
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating password chocoguy Perl 0 01-01-2008 12:53 AM
Password aging vigneshgets Operating Systems 1 11-13-2007 02:39 PM
Why u should not end your administrator password with S or L ? kingmaker Server Management 1 07-26-2007 12:53 AM
Password generator using C# .net oxygen C# Programming 1 07-19-2007 12:53 AM
default password sivakumar Database Support 2 07-18-2007 11:09 PM


All times are GMT -7. The time now is 06:58 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0