Tags
HASHING password, non recoverable password, password cryption and decryption, password security for web application, SHA
java Script
function generateCipher()
{
var rawpwd=document.getElementById(“txtPassword”).value;
if(trim(rawpwd)!=”)
{
var md5val=(rawpwd);
var md5val=SHA1(md5val+sid)
}
return md5val;
Advertisements