3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'paste initial hashed server seed here'; $unhashedSeed = '2386'; $hash = hash('sha256', $unhashedSeed); echo "Generated hash: $hash\n"; echo 'Does hash match? ' . ($hashedSeed == $hash ? 'Yes' : 'No') . "\n";
Output for 7.3.0 - 7.3.29, 7.4.0 - 7.4.21, 8.0.0 - 8.0.8
Generated hash: 63a7db0259ce35e50eb0949e279c420c9fffcff37278e1ae04fea329a7ffeec4 Does hash match? No

preferences:
185.15 ms | 531 KiB | 14 Q