Standard DES encryption script?
Posted: Thu Oct 22, 2009 2:17 pm
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.
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.