I am working on a administrative webinterface / webtool to manage servers, links, operlines and shells. Now I've come to the point where I want the users to be able to create linkblocks and configs.
The linkblocks are already finished, the config creator aint. Mainly because I can't find the algoritm/function I need in PHP to create a password for in the config.
I would like to use the md5 algoritm because that can be used on windows systems (even if I don't like it myself).
Is there any documentation about how mkpasswd generates the password and how I can do it in PHP. I found an old thread of 2004 with this:
Code: Select all
base64_encode(pack("H*",md5("password")));
If you want to take a peak: http://escape.ninth-gate.org/ngtest/
Thanks in advance!