Hello folks,
Im using MD5 algorithm to encrypt the password. Is there any method to decrypt it in javascript??
Any pointers would be helpful
Thanks,
Naveen.
| SitePoint Sponsor |
Hello folks,
Im using MD5 algorithm to encrypt the password. Is there any method to decrypt it in javascript??
Any pointers would be helpful
Thanks,
Naveen.
MD5 is a one-way hash. Meaning you can only convert it from a phrase to it's hash and NOT vice-versa.
How you verify if a user-entered phrase matches the original password is not via decryption, but comparing the generated hash for the user-inputed value.
I can help with Linux, Apache, MySQL and PHP stuff at most times.
I may be able to assist in other general IT issues. Try me![]()
Web Sites I Run:
HTNet | Welley Corporation | blings.info

The whole idea of these hashing algorithms is that the password is never stored anywhere in plaintext and the hashed version cannot be used to authenticate. Md5 works one way only, as Azmeen pointed out. There aren't many two way algorithms out there, and the few available do little but obfuscate the data (shift cyphers, for example). The thing about md5 is that the md5 hash value will always be the same so you can calculate the hash when data is first entered and compare it against hashed user input later to verify matches.
Thanks Guyz for the replies.
Naveen. V
Bookmarks