3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6'; $unhashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c'; $hash = hash('sha256', $unhashedSeed); echo "Generated hash: $hash\n"; echo 'Does hash match? ' . ($hashedSeed == $hash ? 'Yes' : 'No') . "\n";
Output for 8.1.0 - 8.1.30, 8.2.0 - 8.2.25, 8.3.0 - 8.3.13
Generated hash: f3da8e21db1c4c8bac149f1a8462df56e796a4acb1ace253c49001a3293fea13 Does hash match? No

preferences:
42.87 ms | 406 KiB | 5 Q