DomBlack / php-scrypt

A PHP wrapper fo the scrypt hashing algorithm
Other
209 stars 57 forks source link

scrypt hash looks different in PHP72 and PHP74 #58

Closed jijo7thomas closed 2 years ago

jijo7thomas commented 3 years ago

Hash generated by the following function doesn't match when it is run from PHP72 and PHP74

$hash = scrypt('pass123','NaCl', 16384, 8, 1, 64);

Using version 1.4.2 from https://pecl.php.net/package/scrypt

kocsismate commented 2 years ago

I'm closing this issue because https://github.com/DomBlack/php-scrypt/commit/f849379b6c689aca318d87e8a7a76b0e6c10fd52 couldn't reproduce the issue.