Answer to Question #3711 in AJAX | JavaScript | HTML | PHP for Olufemi daniel

Question #3711
How can I encrypt my password?
1
Expert's answer
2011-07-25T13:54:30-0400
<html>
<head>
& lt;script>

& function encrypt_password(pass)
& {
& var encr = document.getElementById("encr");
& encr.value = pass.value;
& }
& lt;/script>
</head>

<body>
& lt;form name="formname" action="#" method="get">
& Password:<input type="password" id="pass" name="pass" onkeyup="encrypt_password(this)"/> <br/>
& Encrypted password: <input type="text" id="encr" name="encr" />
& lt;/form>
</body>
</html>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS