3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass='test'; $hash = crypt ($pass); echo $hash."\n"; if (password_verify('me', $hash)){ if (password_needs_rehash($hash, PASSWORD_DEFAULT)){ $hash = password_hash($pass, PASSWORD_DEFAULT); } echo "good \n"; } //echo password_verify($pass, $hash)."\n"; echo $hash."\n";
Output for 7.2.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$q4QJ0S7u$Q3zP/YuWjXIJU48jEmf/y/ $1$q4QJ0S7u$Q3zP/YuWjXIJU48jEmf/y/
Output for 7.2.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$A6Z949eo$BFxUEHtl5uEjmHJLgTZzw/ $1$A6Z949eo$BFxUEHtl5uEjmHJLgTZzw/
Output for 7.1.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$kSKBOc9L$d84T8i4ADRiZU9E5T6dYT/ $1$kSKBOc9L$d84T8i4ADRiZU9E5T6dYT/
Output for 7.1.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$Vmp00fOJ$/pVFKS6XuDDS/fK.Ff3Uy0 $1$Vmp00fOJ$/pVFKS6XuDDS/fK.Ff3Uy0
Output for 7.1.7
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$vkAotxZB$atwitKno0yFZnWfYyJ9Uz1 $1$vkAotxZB$atwitKno0yFZnWfYyJ9Uz1
Output for 7.1.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$5BV9XfXN$CgbouiVJvqtCpuHLErA.F. $1$5BV9XfXN$CgbouiVJvqtCpuHLErA.F.
Output for 7.1.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$IcP0AqOG$aGr3WH/MQeG.IcRfJqERC. $1$IcP0AqOG$aGr3WH/MQeG.IcRfJqERC.
Output for 7.1.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$NJysqkPV$K/CadCoq6eT0E65rInN25. $1$NJysqkPV$K/CadCoq6eT0E65rInN25.
Output for 7.0.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$9q3BeglO$r.R15cr0afxlPOQxzuO3h1 $1$9q3BeglO$r.R15cr0afxlPOQxzuO3h1
Output for 7.0.6
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$XFzBeUYT$AUl30xLAjYdWenPLkMOkL0 $1$XFzBeUYT$AUl30xLAjYdWenPLkMOkL0
Output for 7.0.5
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$nxs2asuZ$Anm5X0Vt8f3KqGtvofQTy. $1$nxs2asuZ$Anm5X0Vt8f3KqGtvofQTy.
Output for 7.0.4
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$e4sm9lLY$V5NOhzxqGl3o9Yo8jyHAU. $1$e4sm9lLY$V5NOhzxqGl3o9Yo8jyHAU.
Output for 7.0.3
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$IuCXQibn$7NuIjXtFJAukmgwBrizEc. $1$IuCXQibn$7NuIjXtFJAukmgwBrizEc.
Output for 7.0.2
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$k2yOd8A3$jJufnAbvWXoHcdhVe11Pf. $1$k2yOd8A3$jJufnAbvWXoHcdhVe11Pf.
Output for 7.0.1
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$GO6BYOOu$hNa2JydoOsKcZ390v2.Z01 $1$GO6BYOOu$hNa2JydoOsKcZ390v2.Z01
Output for 7.0.0
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$jgNjv/Ht$sfBMkOrAgvVJFCnmW.JM1/ $1$jgNjv/Ht$sfBMkOrAgvVJFCnmW.JM1/
Output for 5.6.28
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$RRdgdyQN$z8e8pLe4PfcXTFk9penyW1 $1$RRdgdyQN$z8e8pLe4PfcXTFk9penyW1
Output for 5.6.21
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$EyLkn6f5$FwQ9f.rKW2bu1Ju1Q2Wdi/ $1$EyLkn6f5$FwQ9f.rKW2bu1Ju1Q2Wdi/
Output for 5.6.20
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$0d/udMel$KGZYdAWllgKrJc4/IFOUT1 $1$0d/udMel$KGZYdAWllgKrJc4/IFOUT1
Output for 5.6.19
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$o57jAOqb$ckmpqJCYo4JQdmlItzYUz0 $1$o57jAOqb$ckmpqJCYo4JQdmlItzYUz0
Output for 5.6.18
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$OKWZ7fml$/knolb/IyYmOWBGDyu/9M0 $1$OKWZ7fml$/knolb/IyYmOWBGDyu/9M0
Output for 5.6.17
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$QPKbNdBn$M1IsoBHfncy6lXAYy02tm0 $1$QPKbNdBn$M1IsoBHfncy6lXAYy02tm0
Output for 5.6.16
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$1Asv4G0t$k/yfL.Lp6F447esQv9iXt. $1$1Asv4G0t$k/yfL.Lp6F447esQv9iXt.
Output for 5.6.15
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$bAjX.OiY$d12yvBw8wF2aqc8.oBW5K0 $1$bAjX.OiY$d12yvBw8wF2aqc8.oBW5K0
Output for 5.6.14
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$sFFBiGrO$CX4W4lEKyrWXOjFHCqoRg1 $1$sFFBiGrO$CX4W4lEKyrWXOjFHCqoRg1
Output for 5.6.13
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$NcT4pvfe$8a8LrFYB.FTxsKK2kdkJ01 $1$NcT4pvfe$8a8LrFYB.FTxsKK2kdkJ01
Output for 5.6.12
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$1k1TGw6k$mIBBU1pSnBknPkECxF1/U0 $1$1k1TGw6k$mIBBU1pSnBknPkECxF1/U0
Output for 5.6.11
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$vcQlW/TJ$qjjUFNhVY2h/PwBND60nk1 $1$vcQlW/TJ$qjjUFNhVY2h/PwBND60nk1
Output for 5.6.10
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$.OvNBTsa$PlOkfLWTbRUMjXmHIJKkg1 $1$.OvNBTsa$PlOkfLWTbRUMjXmHIJKkg1
Output for 5.6.9
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$LAxbqd7H$Q/TcM62e01qjbEtPOfw4y0 $1$LAxbqd7H$Q/TcM62e01qjbEtPOfw4y0
Output for 5.6.8
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /in/igrk6 on line 3 $1$pc0Z9aF3$hg/OIZ/OHyEDmAg8ksGsl1 $1$pc0Z9aF3$hg/OIZ/OHyEDmAg8ksGsl1
Output for 5.5.35
$1$liSV543g$4xEDSfa4gmpkrN89fdsBc1 $1$liSV543g$4xEDSfa4gmpkrN89fdsBc1
Output for 5.5.34
$1$GtyPcqnO$Dd1GYp87vjtkrf0zfEdNq1 $1$GtyPcqnO$Dd1GYp87vjtkrf0zfEdNq1
Output for 5.5.33
$1$3PRr6v40$KNya8sF6AVXUWuw9/fzLI. $1$3PRr6v40$KNya8sF6AVXUWuw9/fzLI.
Output for 5.5.32
$1$a4/WohIm$Uyu.Nrve1Vx2o4VTxlIvz0 $1$a4/WohIm$Uyu.Nrve1Vx2o4VTxlIvz0
Output for 5.5.31
$1$E.VavM3M$xaJCCDPdkfS54.8AVZrgL1 $1$E.VavM3M$xaJCCDPdkfS54.8AVZrgL1
Output for 5.5.30
$1$dHMEzW6W$erWtdJqOU28R8gAWAgl2P/ $1$dHMEzW6W$erWtdJqOU28R8gAWAgl2P/
Output for 5.5.29
$1$CWPo/uWR$2nxW.D4vEgy8IdNqvAZVP. $1$CWPo/uWR$2nxW.D4vEgy8IdNqvAZVP.
Output for 5.5.28
$1$NI1p.9sW$P1XYezWagHhHRtKXDK3d40 $1$NI1p.9sW$P1XYezWagHhHRtKXDK3d40
Output for 5.5.27
$1$8SXiKxOo$BjBUoUOhB5jBzsDYiDSB3/ $1$8SXiKxOo$BjBUoUOhB5jBzsDYiDSB3/
Output for 5.5.26
$1$qQZPdvXN$Iw11XP9gGmmKJHLCbcGqc/ $1$qQZPdvXN$Iw11XP9gGmmKJHLCbcGqc/
Output for 5.5.25
$1$PnSyiAk1$4esNvAvG.qHKvBEU4Alxj0 $1$PnSyiAk1$4esNvAvG.qHKvBEU4Alxj0
Output for 5.5.24
$1$YO4Jl3.E$hzGlg9NnLxvDDc16nBn6i1 $1$YO4Jl3.E$hzGlg9NnLxvDDc16nBn6i1
Output for 5.4.45
$1$MzjfU7Ly$nkouZcmSFj0/rUyrlyhNQ. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.44
$1$YbxiFaBZ$QkTSSDMRjTPtQU0ZEZEMN. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.43
$1$vQjkQ8wL$a8KGAWUNUIRbZwg1.M5/f. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.42
$1$mPDvtDia$.O4X3uHaOd3DQduN5yGRj/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.41
$1$nIjsNL.C$KgSYsAvaQwMV3odsaqEfK. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.40
$1$EiYJwYZ7$S8/Ac.rLhKrekzdkZ7n2O/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.39
$1$lKwUJijn$LxX.8BY/hSdd6yzEqC939. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.38
$1$P0Xb5WNv$IL6rBW./6njN2X.ECqqHJ1 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.37
$1$PkfouyqF$G23f7E3C44NgGtMYZ/zeY1 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.36
$1$T4OOBJw/$KlnfooZyzPuJuqQCPcBzH. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.35
$1$t59kl2l.$kP418bIiP9okFhhbmWjzB0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.34
$1$M.S172.l$9o42zWPiRUO5YLs9DPbIG0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.32
$1$tcnBIu2/$eO8wP1Fe32XFDNTU/0MFS. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.31
$1$1XGLbzi/$7iwXVMUFix3xipLdI7ikj1 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.30
$1$OgdznVLJ$Pt9fzaNl6.PXN299azxiZ. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.29
$1$1kl6v1wG$mwyAUiwDI0hHsIwo6xJ7C0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.28
$1$Wh026y.0$.ULoSARg5wZpglKhAyCyV0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.27
$1$XUTh7/fp$jrVYqqseqkUXaDzmX42Ge. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.26
$1$sRB3MXYT$7ecdxKBZAl7H/PKAqZwLo. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.25
$1$2RgQzl.o$M5kMVnKfNqdiq27GXOe3S. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.24
$1$lX9Dtk/W$FEAee3oeTLJYFBC3zWEQh. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.23
$1$EQQiQFjc$8/E3/KSpEc5ceaWRZtc9E/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.22
$1$Ji8KqyGS$zPRoVAlgTmCdZHOTdez2M/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.21
$1$YeZ4T8x1$oUwnBpNMRdYibsE50iGrh/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.20
$1$fRDbTWRj$15UOkZ75iHcTYwCrtVlO./ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.19
$1$rBGj35mu$4JKbgnHOx4mpb8eMD4UtY/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.18
$1$q/YjqSo2$CpL2GPCJYiDZfbMNZF29z/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.17
$1$FVM2v4Xs$wh4OHjHXzd7Wy6LI0QdM/0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.16
$1$pfwvW8aV$3/CJQNz.Kbh7x3X9eGQKY0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.15
$1$4UOO.uZT$nuji4wUygguuIoBjNn5vl/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.14
$1$6apeXuuY$m/MMa64J3ZCEfYz5Wg1sY0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.13
$1$TNClS1Qn$9ORsDgW.iTrRktwQry/KO/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.12
$1$yFlmE.vB$pk91FbnuL6XM2O63cMV2i0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.11
$1$hFK7iTot$J5KWBOdwLfh8dpbd1fCBr1 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.10
$1$xZn7h8YV$J/dFAPbEv4j412N/qFUTY. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.9
$1$HGZKChFN$rCWQGtUws4lfKWJ1ZSUf50 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.8
$1$By9jsiZb$9SifLEyGA0uG8RVVfeWc1. Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.7
$1$ruISPwbW$5dvUaf6oLN5MCTBexh/F51 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.6
$1$yy8gkIu5$20Zfh1qyxDWKreSSS92hK/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.5
$1$c5LbTSgt$kNpxFeb30eU.frXiIyrd0/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.4
$1$UsTiSAk1$7CHeMtXGA9TPeIkjsuEzu0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.3
$1$.RBDfK3K$.PbAXk9oQKwB8.JUxOZ4Z1 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.2
$1$1L9s.JbM$RzAtJlgk.DamylP3GSMsz0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.1
$1$cwWc06gy$xC41nQG/TIdN597lGwKma/ Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.
Output for 5.4.0
$1$HdVNKctH$8N08e7zQPR8FozntdXZgD0 Fatal error: Call to undefined function password_verify() in /in/igrk6 on line 5
Process exited with code 255.

preferences:
122.07 ms | 401 KiB | 93 Q