Thread crypt gibt mehrmals das selbe aus..: .. (18 answers)
Opened by steinwolf at 2003-09-16 20:30

pq
 2003-09-16 20:42
#52869 #52869
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
perldoc -f crypt:
Traditionally the result is a string of 13 bytes:
two first bytes of the salt, followed by 11 bytes
from the set "[./0-9A-Za-z]", and only the first
eight bytes of the encrypted string mattered, but
alternative hashing schemes (like MD5), higher
level security schemes (like C2), and implementa-
tions on non-UNIX platforms may produce different
strings.

When choosing a new salt create a random two char-
acter string
whose characters come from the set
"[./0-9A-Za-z]" (like "join '', ('.', '/', 0..9,
'A'..'Z', 'a'..'z' )[rand 64, rand 64]").
\n\n

<!--EDIT|pq|1063730799-->
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread crypt gibt mehrmals das selbe aus..: ..