首先,下载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...更多资料,请查阅:3des算法-js实现
----
gitHub简单demo地址:
https://github.com/yubai8/Rkatsiteli/tree/master/Js%203des%