update {base}.contrasenas set contrasena=aes_encrypt("{contrasena}", "{clv}"), codigo_restablecer=null where id={id}; 