Nuacht

The proposal points out that string padding functions are widely used by a majority of websites and frameworks and notes that the absence of a native method to pad strings makes JavaScript needlessly ...
The java version is using TripleDES encryption in CBC mode with PKCS5 padding. From what I've read and seen on the web, mcrypt with PHP does not support PKCS5 padding.