No, the quoted string is literal.  I ran the exact same command on all three
boxes which should have given me a hashed version of the string 'my pass'.

Bowie

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 
> Given that the output is different for each one, if 'my pass' 
> was the same on all boxes, I would say, 'extremely portable
> NOT' <G>
> 
> If 'my pass' was not the same, what was the point?
> 
> (or was the quoted string literal, not representational?)
> 
> Bill Hacker
> 
> 
> In <[EMAIL PROTECTED]>, on
03/18/03 
>    at 09:35 AM, Bowie Bailey <[EMAIL PROTECTED]> said:
> 
> >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