更新时间:2023-12-03 20:05:10
看起来 Salt、Hash 和 interation number 存储在同一个字符串中,并在函数开头分成三个字符串(在一个数组中):
Looks like the Salt, Hash and interation number are stored in the same string and are separated into three strings (in an array) at the beginning of the function:
$params = explode(":", $correct_hash);
值的顺序取决于常量 HASH_ALGORITHM_INDEX、HASH_SALT_INDEX 和 HASH_ITERATION_INDEX 的定义方式.
The order of the values depends on how the constants HASH_ALGORITHM_INDEX, HASH_SALT_INDEX and HASH_ITERATION_INDEX are defined.