You can't. MD5 is a "one-way" encryption algorithm, once you encrypt it there is no way you can get the original text back. So, what is it useful for? This is a common practice for storing passwords. For example, if you have a website that requires members to register in order to access the contents then you'll apply MD5 to the provided password and store the resulting string in your DB. Later when the user comes back and enters his/her user id and password you take that password provided by the user, you apply md5 to it and compare it against the encrypted password stored in the DB. Alligator_666 http://www.vicxsite.com/ Shadman Jamil <falcon_shan@xxxxxxxxx> wrote: Hi, this is Shadman I have problem in encryption and decryption of any text I did encryption of text by MD5 function like $nam = md5("Shadman"); echo $nam; But how I can decrypt if any body did that or have some idea plzzzzzz send me as soon an possible i search that alot......... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed]