Standard DES encryption script?

Posted on 16th Feb 2014 by admin

Can anybody point me to a tutorial or a short script that shows how to encrypt some text with salt into standard DES?

I know about the crypt()-function, but I'm currently writing a PHP script that should be working on whatever server it's on and it should always encrypt to standard DES, no matter what encryption is actually defined (MD5 etc.) on the server.

Alternatively, if someone knows a short script to create a "tripcode" with salt, tell me please.

Other forums