public string EncriptarCampos(string parametros) { //VIEJA ENCRIPTACIÓN //TipoEncriptacion tipoEncriptacion = new EncriptacionMD5(); //NUEVA ENCRIPTACIÓN NpsTypeEncrypt tipoEncriptacion = new NpsTypeEncrypt(); return(EncriptarCampos(parametros, tipoEncriptacion)); }
private string EncriptarCampos(string parametros, NpsTypeEncrypt tipoEncriptacion) { return(tipoEncriptacion.GetEncriptacion(parametros, SECRETKEY)); }