What is the most secure hashing method? (PHP)

后端 未结 4 1010
Happy的楠姐
Happy的楠姐 2020-12-21 13:48

I have just noticed that I have SHA512 in my PHP installation. Is it more secure than SHA1? Is it the most secure hashing method (I need for passwords, not for file integrit

4条回答
  •  -上瘾入骨i
    2020-12-21 14:27

    In response to @Buddy, speed is not your friend when hashing; the slower the better. If someone is trying to brute force your password, an algorithm that takes a long time will mean the hack will take a long time.

提交回复
热议问题