Why does crypt/blowfish generate the same hash with two different salts?

前端 未结 4 707
-上瘾入骨i
-上瘾入骨i 2020-11-28 06:11

This question has to do with PHP\'s implementation of crypt(). For this question, the first 7 characters of the salt are not counted, so a salt \'$2a$07$a\' wo

4条回答
  •  悲哀的现实
    2020-11-28 06:45

    Looks like the outputs are actually different. (da$, vs da2) for result of salt_20 and salt_21.

提交回复
热议问题