Javascript MD5 Encryption
JavaScript MD5 Encryption
Before using the code first download md5.js file from the link below
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B2iokvd3EpXAZTcyY2UwYzAtNjcxNS00MzY1LWE2NDQtNDMxODMxYjE1ZGM0&hl=en_US
Extract the folder and you will find the md5.js script file in script folder
And below is the code to use the script file. Enter value in textbox to encrypt ant click the below button.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MD5 Test</title>
<script type="text/javascript" language="javascript" src="script/md5.js"></script>
</head>
<body>
<div>
Enter value in textbox and press Tab or click anywhere in the page<br /><br />
<input type="text" name="md5text"/>
<br />
<br />
<input type="button" value="Get MD5 Value" onclick="alert(hex_md5(md5text.value));" />
<br />
</div>
</body></html>
Demo : http://www.navvtech.com/demo/javascript/md5/md5.htm
Aw, this was an extremely nice post. Finding
ReplyDeletethe time and actual effort to create a really good article… but what can I say… I put things
off a whole lot and never seem to get nearly anything done.
my web page farm heroes saga trainer