ÿþ<html> <head> <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes"> <meta http-equiv="Content-Type" content="text/html; charset=unicode"> <title>MD4, MD5 and SHA-1 Algorithms</title> <style> form input {font-family: "Courier New", Verdana; font-size:11pt;} </style> <script type="text/javascript" src="md4.js"></script> <script type="text/javascript" src="md5.js"></script> <script type="text/javascript" src="sha1.js"></script> </head> <BODY bgcolor="#EAF0F8" topmargin="10" leftmargin="10" rightmargin="10" bottommargin="10"> <form> <div id="contain" style="font-family:'Tahoma', 'Arial'; font-size:11pt"> <div id="mainbg"> <div style="color: #000080; margin-bottom:10px"><b>MD4, MD5 ŒT SHA-1 —{Õl</b></div> <div style="font-size:9pt; color: #666666; margin-bottom:10px">The MD4, MD5 and SHA-1 algorithms are secure hash functions. They take a string input, and produce a fixed size number - 128 bits for MD4 and MD5; 160 bits for SHA-1. This number is a hash of the input - a small change in the input results in a substantial change in the output. The functions are thought to be secure, in the sense that it would require an enormous amount of computing power to find a string which hashes to a chosen value.</div> <div> <textarea id="src" rows=11 cols=60 value="" name="input"></textarea> <div style="margin: 10 0 10 0"> <input onclick="var v = hex_md4(input.value); hash.value = (uc.checked) ? v.toUpperCase() : v.toLowerCase();" type=button value="MD4" name="encode">&nbsp; <input onclick="var v = hex_md5(input.value); hash.value = (uc.checked) ? v.toUpperCase() : v.toLowerCase();" type=button value="MD5" name="decode">&nbsp; <input onclick="var v = hex_sha1(input.value); hash.value = (uc.checked) ? v.toUpperCase() : v.toLowerCase();" type=button value="SHA-1" name="decode">&nbsp; &nbsp; <input type="checkbox" value="y" name="uc" onclick="hash.value = (uc.checked) ? hash.value.toUpperCase() : hash.value.toLowerCase();">'Y™QW[Ík </div> <input type="text" name="hash" size="50"> </div> </div> </div> </form> </BODY> </html>