Entry
Does crypt() work under Windows NT?
Jan 20th, 2000 00:28
Nathan Wallace, Ignatius Teo, amdur, Kristian Holdich
No.
This is because php shells out to the unix crypt command when it sees
crypt in a script, and NT doesn't have that command available.
http://www.php.net/manual/function.crypt.php3
There are some fairly simple encryption algorithms knocking about.
For a perl implementation have a look at:
http://www.dcs.ex.ac.uk/~aba/rsa/
The Win32 distribution has a php3_crypt.dll extension library which
provides the sflcrypt functions. But you have to call the encrypt
function instead. I still haven't figured out what the calling
parameters are, so if anyone knows, please be so kind as to post them
here.