/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function generarClave(){
    var texto = document.getElementById('form1:passContrasenia_field').value;
    var cifrado = hex_md5(texto);
    document.getElementById('form1:txtClave_field').value = cifrado;
}
