There's more than one way to do things | |
PerlMonks |
Re^3: Generating random characters for a salt.by fenLisesi (Priest) |
on Aug 31, 2007 at 08:02 UTC ( [id://636271]=note: print w/replies, xml ) | Need Help?? |
If you are given these rules:
then, yes, you would want a big char set. That is not the case with salts, however. Heck, you could restrict yourself to two characters and still be arbitrarily uhm... arbitrary by making the string longer. The incredibly-randomness and terribly-hard-to-guessness of a salt is not critical: it is going to be hashed again. Disclaimer: I am not a crypto expert either. /me .oO(Come to think of it, I am not an expert in anything, really. That's not very good at age 34) Cheers.
In Section
Seekers of Perl Wisdom
|
|