in reply to Crypted password under Win32
Unix password encryption is usually done with the "crypt" command line utility. Windows does not have this ability because it does not have crypt.
The answer?? Find a windows command line encryption program or:
Use Martin Vorlaender's Crypt::UnixCrypt module on Windows. http://search.cpan.org/search?dist=Crypt-UnixCrypt
However, it is not *exactly* the same as linux crypt(). That is, for some passwords that contained non-alphanumerics in the first 2 character positions, the hash produced by Crypt::UnixCrypt and linux's crypt() differed.
If you just need something that works similarly to crypt on windows, this module works well. But don't use it if you need the hashes to be portable. ~Hammy
|
|---|