News for hackers. Stuff that matters.
Re:How To Safely Store A Password by peterwwillis on Monday February 08, 2010 @12:49PM (#1110202)
I haven't seen this link on this thread yet so here we go:

http://people.redhat.com/drepper/sha-crypt.html Ulrich Drepper's implementation of a work factor in SHA password hashing. He addresses a popular article on bcrypt() and how using SHA allows one to follow NIST guidelines and still have the advantage of a time-consuming algorithm.

  me@myhost ~/ :) time perl -le'print crypt("some-password","\$6\$rounds=900000\$myrandomsalt")'                                                                    
  $6$rounds=900000$myrandomsalt$O4u/Z5FRNBi3fw6YhAM1V1hC1LAawq9Ri65Kx77GchzOWieXeRs6w83bYqotyqBcz.WE29NygNli93dBDAbpt/
  
  real    0m3.996s
  user    0m3.990s
  sys     0m0.005s
  
If someone could comment on this in comparison to bcrypt I would appreciate it. Why should we use bcrypt if this exists in modern crypt() implementations?

There are no comments on this comment yet.