But if you're checking that crypt($password) matches the crypt($password) you've saved previously, and you use a different salt, it won't match, surely?
I don't know a lot about it either, but this seems to be correct.
gives you this:use strict ; my @n = qw( xx xy yx yy ) ; my @m = @n ; foreach my $outer ( @n ) { foreach my $inner ( @m ) { print crypt( 'perlmonk', $inner ) eq crypt( 'perlmonk', $outer + ) ? '1' : '0' ; } print "\n" ; }
1000 0100 0010 0001
In reply to Re: Tales from the crypt()
by DamnDirtyApe
in thread Tales from the crypt()
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |