Many hash iterations: append salt every time?

前端 未结 5 685
野趣味
野趣味 2020-11-28 08:24

I have used unsalted md5/sha1 for long time, but as this method isn\'t really secure (and is getting even less secure as time goes by) I decided to switch to a salted sha512

5条回答
  •  我在风中等你
    2020-11-28 09:25

    I prefer to go with a double sha1 with two different salts and prevent DoS delaying the answer incrementally (with a simple usleep) for every invalid password check.

提交回复
热议问题