3v4l.org

run code in 500+ PHP versions simultaneously
<?php $password = 'Pa$$virgo78'; $salt = "a1b2c3d4e5f67890123456789abcdef012345678"; // Le salt généré à l'étape 1 $hash = sha1($salt . sha1($password)); echo "Hash : " . $hash;
Output for 8.2.0 - 8.2.34, 8.3.0 - 8.3.35, 8.4.1 - 8.4.26, 8.5.0 - 8.5.11
Hash : dab5bfb4b4587eb151651699c556ebe9144bc1b5

preferences:
27.63 ms | 1136 KiB | 7 Q