[rt-users] Password Encryption Used By RT
Chr. von Stuckrad
stucki-rt-users at math.fu-berlin.de
Fri Nov 8 14:07:31 EST 2002
On Fri, Nov 08, 2002 at 01:47:11PM -0500, Rich Lafferty wrote:
> > No, crypt() uses more than one algorithm on most systems that support
> > MD5 passwords, and figures out which to use by the hash.
>
> Gnar. By the salt, of course.
>
> $ perl -le 'print crypt("foo",q($1$abcdefgh))'
> $1$abcdefgh$XxzGe9Muun7wTYbZO4sdr0
This seems to be system-dependent!
My perl(s) on LINUX and Solaris *both* give me:
$ perl -le 'print crypt("foo",q($1$abcdefgh))'
$1BYKQTeiLcrU
Stucki
--
Christoph von Stuckrad * * |nickname |<stucki at math.fu-berlin.de>\
Freie Universitaet Berlin |/_*|'stucki' |Tel(days):+49 30 838-75 459|
Fachbereich Mathematik, EDV|\ *|if online|Tel(else):+49 30 77 39 6600|
Arnimallee 2-6/14195 Berlin* * |on IRCnet|Fax(alle):+49 30 838-75454/
More information about the rt-users
mailing list