- var_dump: documentation ( source)
- hash_pbkdf2: documentation ( source)
- hash_equals: documentation ( source)
- random_bytes: documentation ( source)
<?php
$s = random_bytes(16);
$i = 1000;
var_dump(hash_equals(
hash_pbkdf2('sha224', 'Tihanyi_collision_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae6vit9wh', $s, $i),
hash_pbkdf2('sha224', ')P.!{(]??/lQrfzs4QTQt#6qQe+8', $s, $i)
));