In <[EMAIL PROTECTED]>, on 03/18/03 at 12:40 PM, Bowie Bailey <[EMAIL PROTECTED]> said:
>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 Which it did. <G> But as the hash output is different - the method *may work* on all tested platforms, but doesn't deliver the same hash, hence said hash is not usable between boxen for mail auth (or whatever). And the method is 'portable NOT' Bill Hacker >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 Regards, Bill Hacker -- ----------------------------------------------------------- [EMAIL PROTECTED] William B. Hacker, III FHKIoD Managing Director Conducive Group (Asia) Limited http://www.conducive.net ----------------------------------------------------------- ------------------------------------------------------- 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
