469,344 Members | 6,158 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

Encrypt Password Using MD5

250 100+
I want to encrypt password using md5 method in javascript. This is my code and I didn't get any answer. Please help me..

Expand|Select|Wrap|Line Numbers
  1. var p = document.getElementById('Password').value;
  2. alert(p);// this part working
  3. var temp = MD5(p);
  4. alert(temp);//this is not working
  5.  
Sep 8 '11 #1
2 2397
Dormilich
8,652 Expert Mod 8TB
you would have to define the MD5() function, otherwise you get a script error (undefined function MD5())
Sep 8 '11 #2
Rabbit
12,516 Expert Mod 8TB
Also, MD5 is a one way algorithm.
Sep 8 '11 #3

Post your reply

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

Similar topics

1 post views Thread by Siddharth Jain | last post: by
2 posts views Thread by ghjk | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.