<html>
<head>
<title>Cifrar Información</title>
<link href="estilos/main.css" rel="stylesheet" type="text/css"/>
<script language="javascript" src="scripts/md5.js"></script>
<script language="javascript">
function Procesar()
{
s1= MD5(document.visible.usuario.value);
s2= MD5(document.visible.contra.value);
alert("usuario:"+s1+"\n"+"contraseña:"+s2);
return false;
}
</script>
</head>
<body>
<div align="center">
<table cellpadding=4>
<caption>Bienvenido<br>DAP Internet I</caption>
<tr>
<td align="center" valign="middle">
<form name="visible" onSubmit="return Procesar()">
<label>Usuario</label>
<br/>
<input type="text" name="usuario" size=20 maxlength=200>
<br/>
<label>Contraseña</label>
<br/>
<input type="Password" name="contra" size=20 maxlength=32>
<br/>
<input type="submit" name="btnAceptar" value="Iniciar">
</form>
<a href="login.html">Otra Vez</a>
</td>
</tr>
</table>
<address> Made By Yanine Aratea © 2011</address>
</div>
</body>
</html>
No hay comentarios:
Publicar un comentario