This page shows how to use this DES function, and provides the source code in Javascript, Perl and PHP. Usage des (string key, string message, boolean encrypt, [integer mode, string iv, integer padding]) The des function accepts an 8 character string as the key (this is 64 bits, but the algorithm only uses 56) for normal DES or a 24 character string for triple DES, a message string, a boolean to s