<?php
$password = "test";
echo "$password \n";
#$hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT);
$hashToStoreInDb = '$2cByx5jo';
echo " $hashToStoreInDb \n";
# $isPasswordCorrect = password_verify($password, $hashToStoreInDb);
# echo "$isPasswordCorrect \n";
$hash_crypt = crypt($password, $hashToStoreInDb);
echo " $hash_crypt \n";
?>
- Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- test
$2cByx5jo
*0
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.31, 7.4.0 - 7.4.33
- test
$2cByx5jo
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /in/Z4Yuu on line 17
$2rcByx51ejoM
- Output for 5.3.2 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.3.32 - 7.3.33
- test
$2cByx5jo
$2rcByx51ejoM
- Output for 5.3.0 - 5.3.1
- test
$2cByx5jo
$2vU67iv49YBo
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
- test
$2cByx5jo
Process exited with code 139.
preferences:
236.49 ms | 402 KiB | 314 Q