It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

password encryption

password encryption

Postby engineer on Mon Apr 27, 2009 3:47 pm

Hi, how can I edit this script so the password would be encrypted when its typed... ie wont show when typed :s


<script language="JavaScript">
<!--hide
var password;
var pass1="password1";
password=prompt('Please enter your password',' ');
if (password==pass1)
alert('Correct password, click OK to enter.');
else
{
location.href="incorrect.html";
}
//-->
</script>
engineer
 
Posts: 2
Joined: Mon Apr 27, 2009 3:28 pm

Who is online

Users browsing this forum: No registered users and 5 guests