34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1);
/**
* base64...& 0xC0) >> 6));
out += base64EncodeChars.charAt(c3 & 0x3F);
}
return out;
}
/**
* base64...(在 ECB 模式下不使用)
*/
使用方法:
(加密方式1)
base64encode(des (key, String(param), 1, 0));//加密1
base64decode(des...//加密2
des(key,base64decode(String(param)),0,1,hexToString(value),0)//解密2
以上方法介绍,
(加密2)首先是经过des加密...PS:如果要跟服务器对接,那么对des加密解密来说,格式根据协议来定的,只需要配置参数即可使用。