首先,下载Des.js文件
/*
Paul Tero, July 2001
http://www.tero.co.uk/des/
Optimised for performance...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...//加密2
des(key,base64decode(String(param)),0,1,hexToString(value),0)//解密2
以上方法介绍,
(加密2)首先是经过des加密...更多资料,请查阅:3des算法-js实现
----
gitHub简单demo地址:
https://github.com/yubai8/Rkatsiteli/tree/master/Js%203des%