3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 password_verify($pass, $hash)."\n"; echo $hash."\n";
based on DEQrR
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/geFY0 on line 3 $1$gkJ5bbfn$Etjk7z.v9vnTcnr6PFvnZ1 $1$gkJ5bbfn$Etjk7z.v9vnTcnr6PFvnZ1
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/geFY0 on line 3 $1$nFcbbMKn$AmO6DORSdgJ0QeU4vJudY0 $1$nFcbbMKn$AmO6DORSdgJ0QeU4vJudY0
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/geFY0 on line 3 $1$3EgTkkOM$5g2zp9.bAoO0hcXA67khP1 $1$3EgTkkOM$5g2zp9.bAoO0hcXA67khP1
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/geFY0 on line 3 $1$/sF5yMii$asIDDHHmzyOTFyp.gO9Ra. $1$/sF5yMii$asIDDHHmzyOTFyp.gO9Ra.
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/geFY0 on line 3 $1$RreoT.aA$5451gQ3LVg1Mme6/yCSFt/ $1$RreoT.aA$5451gQ3LVg1Mme6/yCSFt/
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/geFY0 on line 3 $1$1G1FtwEG$WR/Snl9TZv2i8X41wL6Jw/ $1$1G1FtwEG$WR/Snl9TZv2i8X41wL6Jw/
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/geFY0 on line 3 $1$w6iof3Mj$xlLlbn1DsSpPlmEdmNdQB/ $1$w6iof3Mj$xlLlbn1DsSpPlmEdmNdQB/
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/geFY0 on line 3 $1$9s/y40MH$.hUqjpgFn40e85Vk3jXWa0 $1$9s/y40MH$.hUqjpgFn40e85Vk3jXWa0
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/geFY0 on line 3 $1$phC.EKuJ$KGmjH7wLkC86iiJuxcduC. $1$phC.EKuJ$KGmjH7wLkC86iiJuxcduC.
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/geFY0 on line 3 $1$7h8fKhAP$HKt.xk8Zk4yvi4BSB/iQt. $1$7h8fKhAP$HKt.xk8Zk4yvi4BSB/iQt.
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/geFY0 on line 3 $1$IsMPLYiK$mdAHNMh6e.Q5Llvpw7xda/ $1$IsMPLYiK$mdAHNMh6e.Q5Llvpw7xda/
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/geFY0 on line 3 $1$pgskpsZE$p3a97Za2GvKoMCITi8gEF/ $1$pgskpsZE$p3a97Za2GvKoMCITi8gEF/
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/geFY0 on line 3 $1$tHrlFAfk$YBkt11KPMk/2Gm7euv0321 $1$tHrlFAfk$YBkt11KPMk/2Gm7euv0321
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/geFY0 on line 3 $1$dOSc9UK4$9XUPWvrDK0pzyWwQM5A5O1 $1$dOSc9UK4$9XUPWvrDK0pzyWwQM5A5O1
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/geFY0 on line 3 $1$fMJVuXtU$yWFMuH.gU/mYFjNpvY37o/ $1$fMJVuXtU$yWFMuH.gU/mYFjNpvY37o/
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/geFY0 on line 3 $1$r2KZ1ufD$z/F8oE54V2Hcsm3wSv7iB0 $1$r2KZ1ufD$z/F8oE54V2Hcsm3wSv7iB0
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/geFY0 on line 3 $1$MHEuaDl9$R9ySYCH7J/M/kOXF.LPM31 $1$MHEuaDl9$R9ySYCH7J/M/kOXF.LPM31
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/geFY0 on line 3 $1$uSrkdI1N$rIoBHs8B3Q9MPLGxv/p/L1 $1$uSrkdI1N$rIoBHs8B3Q9MPLGxv/p/L1
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/geFY0 on line 3 $1$8uaLGgFc$0q5SKQGnlzBtZP9rBbj9t/ $1$8uaLGgFc$0q5SKQGnlzBtZP9rBbj9t/
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/geFY0 on line 3 $1$ARA4.zmM$unrLldBl5.5E5ZTsOPB1u/ $1$ARA4.zmM$unrLldBl5.5E5ZTsOPB1u/
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/geFY0 on line 3 $1$c/YsC0.Q$Pb1j1eDni5Kio6l.Hmyj61 $1$c/YsC0.Q$Pb1j1eDni5Kio6l.Hmyj61
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/geFY0 on line 3 $1$QyHjyZAf$xejjT0PULGVui4YLkDxtR1 $1$QyHjyZAf$xejjT0PULGVui4YLkDxtR1
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/geFY0 on line 3 $1$3IADkwK/$8O.Z1wV6qkDvPeY.02tQk/ $1$3IADkwK/$8O.Z1wV6qkDvPeY.02tQk/
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/geFY0 on line 3 $1$mEFdyqF.$uMpK1TMQn1bli6DRIfEle1 $1$mEFdyqF.$uMpK1TMQn1bli6DRIfEle1
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/geFY0 on line 3 $1$eo70EcEf$qH/aMfTy6AB7OvpD.vzvN0 $1$eo70EcEf$qH/aMfTy6AB7OvpD.vzvN0
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/geFY0 on line 3 $1$TH3f2ok7$sfcSxl9va5yEFH82vnbkX. $1$TH3f2ok7$sfcSxl9va5yEFH82vnbkX.
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/geFY0 on line 3 $1$DtVhDIff$aZveBZAiU1YGZfVhqTk/V1 $1$DtVhDIff$aZveBZAiU1YGZfVhqTk/V1
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/geFY0 on line 3 $1$dfOpqQ0W$LC7XwZ5iyjyxOOS32pv.h/ $1$dfOpqQ0W$LC7XwZ5iyjyxOOS32pv.h/
Output for 5.5.35
$1$GfHcLa5h$1Ao41T/tyamh6/cTi5XCP1 $1$GfHcLa5h$1Ao41T/tyamh6/cTi5XCP1
Output for 5.5.34
$1$OQMJSM2f$XSUk1roMMIjzg87xq5iEm. $1$OQMJSM2f$XSUk1roMMIjzg87xq5iEm.
Output for 5.5.33
$1$nQjRSyDg$71Ny6JgEBvsqSl/I24jW41 $1$nQjRSyDg$71Ny6JgEBvsqSl/I24jW41
Output for 5.5.32
$1$vjbgj3.N$i6nDM6LQWYA5AkVZfbZ75/ $1$vjbgj3.N$i6nDM6LQWYA5AkVZfbZ75/
Output for 5.5.31
$1$H2C3x6xH$4uhBBrPfud4Ff.7CLXEnD. $1$H2C3x6xH$4uhBBrPfud4Ff.7CLXEnD.
Output for 5.5.30
$1$Wach8wk/$X0oewSkZh9Eds3XcxaJM01 $1$Wach8wk/$X0oewSkZh9Eds3XcxaJM01
Output for 5.5.29
$1$MCvgZ2sb$Z/8WJvBD3WX.Fo8HOk3970 $1$MCvgZ2sb$Z/8WJvBD3WX.Fo8HOk3970
Output for 5.5.28
$1$B1Mqn651$caggsDRc/FkeKzatqycEo1 $1$B1Mqn651$caggsDRc/FkeKzatqycEo1
Output for 5.5.27
$1$X.LMoXAA$yDcuOqTqZApoQHAE8DRHG1 $1$X.LMoXAA$yDcuOqTqZApoQHAE8DRHG1
Output for 5.5.26
$1$aAaEzt1x$cv/M3VsyoMZ/yi0Y3C7fk1 $1$aAaEzt1x$cv/M3VsyoMZ/yi0Y3C7fk1
Output for 5.5.25
$1$W9HvwHMb$dp8E08AslfOFJQHqITlNv0 $1$W9HvwHMb$dp8E08AslfOFJQHqITlNv0
Output for 5.5.24
$1$aV/hRBO0$4XwYRwG110Sl9x4XNihau. $1$aV/hRBO0$4XwYRwG110Sl9x4XNihau.
Output for 5.4.45
$1$iPz5.XLG$kMoHuGBxe8IR0Alf5wtm11 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.44
$1$ZYlPFJsm$LDu6YqgV.BZGBjornnqmn1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.43
$1$1/VBIr3D$WcmqhmFi4YqJbzH8sY2OG/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.42
$1$/ZdmPP3m$zwvnWt6pRggLTHaqOqLhG. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.41
$1$H4sle0C0$/cGoXw/cC7Q3kMBa3iu3S. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.40
$1$zN0Hf.a1$sAOI.sOEZ1r6d5cg7Pems. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.39
$1$oIqfrRDe$JywBexLxzGTayUFxoS.qy1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.38
$1$iGV4wEwJ$UKeu.BeHsd22qEBUxx.Ey/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.37
$1$DuX/4QCl$sGKuta.42nkQRqFXjEwQx1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.36
$1$qEHNG6J5$17I4wDPg3mZVPIjT9es/71 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.35
$1$4INdBgur$z3Bsv80eeQc/Dh6sZj1ZR/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.34
$1$9ZlXOZsm$VuEJpd/Ec458CXKlYxUzy. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.32
$1$YzLJzPHa$nFNnmLJVo/megqOHw81qh. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.31
$1$lqWNn5zg$9UatjZMMUpqDjFU3HUX1N0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.30
$1$3LhIlsDy$UvKbdX0h/Axl7CqcFxFRb1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.29
$1$/ejLWbe.$EMTg8k/bM.PRwt3ofkAo6/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.28
$1$7kL4r4ws$dQ5FD3dpwOmoi05SYm.uq0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.27
$1$aPg7QRMK$inT7WpzgJJX99BGlhMBib. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.26
$1$nPZ8SJr7$flTbwtMSYHP2S/Fr4rsmC. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.25
$1$178.MyYw$zIGV7t726xA7ED4kX0qJf/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.24
$1$mg.9csIt$OFXzMzYj/bqJvhYux0FX9. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.23
$1$tZVC3AKP$xCZ07dcDmd7HWeWPxh3f3/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.22
$1$YvCj2D55$KA3Pcyc6rdCtZo/oPf.bl. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.21
$1$xit9bfdz$HEKlOB/IcgSEOK7Y15Qc/0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.20
$1$jDeN7gwT$iBe5.f.xlzM0KDk7VY8yV. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.19
$1$9Xs5M5yX$uJ.wYsCdx4UbbjaU0rKrm/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.18
$1$nZ38FHwG$t/A56pCxw4pQDgCSIeC6h0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.17
$1$p6YXTE0l$6PdYDhbFma8B7Ie3r6QCk0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.16
$1$LW39QkAz$o/NWoiYLQWe5FQH1aAr2e1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.15
$1$wvOJwwKU$vgPiAPhfFaSf32sBJ8eIE/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.14
$1$RzqUvcol$U58QpTL0Yqv2PRM9ShLB7. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.13
$1$QeF6w5zi$X7rNFMvrN5ENZRn0PGhVc0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.12
$1$QZ3munVM$bH1BmQkpUt.5zyWW9RIoj. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.11
$1$UetzXr4/$/zAHOHRSPs7Ejc6lR.XHj. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.10
$1$PJDicG98$VLX2Yz9fNHd.8xlUCotTF1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.9
$1$4RdclrtK$tI76T.0E0Zg1TYaprErVp/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.8
$1$IBC2n8jk$gN4AYb2Dg90piQjXfUcSu/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.7
$1$WXU.6lmG$nkQ3jzs6a/dMU8pSVnl.l/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.6
$1$Sny8FKJA$D7Y0Vei2K248RCrG47LoN0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.5
$1$Z8L8XNh7$7I.PDDJOaUj/9.8SDxehO1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.4
$1$Sod3nHCa$ocIB29cGJhU85fhH1RH7Z. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.3
$1$.6fuSvNS$4JVUxXQ3Wh/idLhrQT/GS0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.2
$1$GwAYWtXT$12Tobxy4LWg5rkyizt.MC/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.1
$1$wulxw8VA$4SttQFTEFUpvv6RjdyhXI1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.4.0
$1$fckBDkNb$BRyJRGzbqdRvvzSb2VAPY1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.29
$1$Xf2tPFEJ$dCJv962WxoepA7/rM5S/G/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.28
$1$rqf8Pw6w$CClVX791s0O926C4SitFY/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.27
$1$zwyXpe.T$x29AJtRVYxbFBXkplpoHv/ Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.26
$1$TZTWykFG$0JUl8dgl2vAkApEIMZbfc. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.25
$1$ls69VX46$Ptp3eh0rve6RB0ZgZ2kw/0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.24
$1$IBXvCdQj$d.DDD40isntoAvB9ANSxP1 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.23
$1$Tq7g8C.U$HbkV6JSbGr.9230u1xSXc. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.22
$1$JvyYiOdQ$esh7zM7YOBCAE1qNJE8HH0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.21
$1$gJ6yIhHZ$JzXIwIRs6jnCD/0m2uhr.0 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.20
$1$bxNiS9b5$BJYq69BJaXJgAXRf.EaQ01 Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.
Output for 5.3.19
$1$MBCGB7i.$5OIC7UBxFfsT3HFoa1BcQ. Fatal error: Call to undefined function password_verify() in /in/geFY0 on line 5
Process exited with code 255.