in reply to Re^2: gettin back crypted password
in thread gettin back crypted password

And if you allow passwords of length less than 1.

My algorithm already checks that! Sure, for Perl it looks like all the strings are 8 characters, but the check is done by a C routine, who thinks that strings ends before the first \0 character.

It could be a bit optimized to take advantage of this, but all it does is save a few years of running time, at the expense of uglier, and harder to maintain, code. More code as well, and we all know that programmer time is more expensive than CPU time.

Replies are listed 'Best First'.
Re^4: gettin back crypted password
by spongeboy (Novice) on Mar 10, 2005 at 04:31 UTC
    Sorry, wasn't thinking straight.

    OT
    Two strings walk into a bar. The first one says "I'll have a beer.-3n2=32rnqnq08 3i-2n4"
    "Don't worry about my friend", says the second, "he's not null terminated"