On Mon, 7 Jan 2019 at 13:58, <minfo...@arcor.de> wrote: > I've often encountered demands for password encryption, where simple > string hashing would suffice. > > Speed-wise FNV-1a is barely to beat. Add some magic number to the > result and you are good enough. >
Not for password encryption. FNV isn't designed for crypto hashing, and speed is specifically something you do *not* want for password hashes, because if it's fast it's quick to run through a dictionary attack. That's why algorithms like PBKDF2 exist. The algo fits in a single handful of lines. > > Of course this ain't military strength encryption, but should suffice for > eye-protection of any non-critical stuff. > > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.