in reply to Re: how to crypt and decrypt password from 4 to 15 characters in length
in thread how to crypt and decrypt password from 4 to 15 characters in length
Using a hash function for passwords is a good suggestion, ++. However, there are known attacks for MD5 and SHA-1. While these attacks are not yet considered serious enough to recommend switching applications away from these hashing methods, better algorithms exist and should be used for new apps (this is particularly true for MD5). Both Digest::SHA and Digest::SHA::Perl can use SHA-256, which is stronger, so you should use it instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to crypt and decrypt password from 4 to 15 characters in length
by Anonymous Monk on Jan 21, 2006 at 18:37 UTC | |
by tirwhan (Abbot) on Jan 21, 2006 at 19:16 UTC |