Hallo,
Beispiel: das Passwort miky1 wird per Perl-crypt() mit (zum Test festgelegtem) Salt 'SL' zu SLR1U5HLisJLY.
Wie das?
Dasselbe unter PHP wird zu SLTIYxJb5JDu6.
Das stimmt. Macht auch Perl bei mir, genauso wie PHP:
#!/usr/bin/perl -w
print crypt ('miky1', 'SL');
print "\n";
Gibt bei mir auch SLTIYxJb5JDu6. (ohne Punkt versteht sich)
Grüße,
Christian