From: Matt Hyclak [mailto:[EMAIL PROTECTED]
> 
> [host]$ perl
> print crypt('my pass','$1$') . "\n";
> $1$$ZgHOLxjS.UBCu4uVg70a91
> [host]$ 
> 
> Slightly more portable, as my linux crypt(3) doesn't support md5 :-)

This is a bit off-topic, but...

I ran this script on my Win2K box:
C:\>perl
print crypt('my pass', '$1$') . "\n";
$1Up8om3Gxhb6
C:\>

an HP-UX box:
[hpux]$ perl
print crypt('my pass', '$1$') . "\n";
$1yP7XbRMeGqE
[hpux]$

and a Linux box:
[linux]$ perl
print crypt('my pass', '$1$') . "\n";
$1$$ZgHOLxjS.UBCu4uVg70a91
[linux]$

Am I missing something, or is this method not extremely portable?

Bowie


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to