3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $encoded = crypt('password', null); var_dump($encoded);
Output for 7.1.0
string(34) "$1$FFNJu7DJ$O.Kjl0NknSy9u0y365Hdv1"
Output for 7.0.14
string(34) "$1$lAZn.A95$OALLBid4DwBfG47rAYh4c."
Output for 7.0.6
string(34) "$1$E1.Hglw1$G6ycYpW4vk2EbwseTlClO."
Output for 7.0.5
string(34) "$1$HYAz7tWu$uTTSsxQiNTR5gSaoLmBjd0"
Output for 7.0.4
string(34) "$1$vdxQFkGg$VbiRfrFgnUatb/.h8GCgF/"
Output for 7.0.3
string(34) "$1$4D4kbH6K$bRFt1odC5pLfnzl.0uEoZ0"
Output for 7.0.2
string(34) "$1$WBE59PwN$vTSzwIA6M59ThZZw.95bn0"
Output for 7.0.1
string(34) "$1$WdAixBwU$Pdb2tYNnQw9s4xJTViaME/"
Output for 7.0.0
string(34) "$1$O73qEPbx$BLXJjg91ni6bKZbsj602S/"
Output for hhvm-3.10.0 - 3.12.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/mUec5 on line 2 string(34) "$1$bJoWf/..$C1/6gCNQcmRUB9F3GomCH/"
Output for 5.6.28
string(34) "$1$XfL3gVGL$bIue2Zd6mfJepp.QYqXmu1"
Output for 5.6.21
string(34) "$1$97yaBG3k$.E4Ux7ABLUPWTxrq9pNlw0"
Output for 5.6.20
string(34) "$1$WCGA/zzR$CvqMNd2ZJ0AKiZ1mauGDC0"
Output for 5.6.19
string(34) "$1$1GxykbhT$0Qr30I/snUdbvi1WYaspI0"
Output for 5.6.18
string(34) "$1$fxNi2Rsp$Ro2jWwpqyP7DFJ7cKn/CG."
Output for 5.6.17
string(34) "$1$fS9kT0a1$RB15fhuXKTLQh.oKzl0/N/"
Output for 5.6.16
string(34) "$1$HhxuCm88$HS3qYFDjvhSvsJuKnuIAw1"
Output for 5.6.15
string(34) "$1$PRZCd/nW$AxcCmJI8QNrf8PoOYNLqe/"
Output for 5.6.14
string(34) "$1$0F98dFrt$D91SkB.h27j5O88MBEc0Y1"
Output for 5.6.13
string(34) "$1$kAW4drxD$FU3qffgXT9zp4u6rP86Ib1"
Output for 5.6.12
string(34) "$1$Z9b8XW2C$yWYyfPWl3OWWLb4iMd5Nd."
Output for 5.6.11
string(34) "$1$Ivb4dqEJ$FqFB91g0bkaF.FaFYvSZt1"
Output for 5.6.10
string(34) "$1$75JM51bH$Rrq/.JAYP0OS1vwnqPADV0"
Output for 5.6.9
string(34) "$1$e.qPrqnz$XJ3g/JzdNYYajFXmoxe.Z/"
Output for 5.6.8
string(34) "$1$E0FohOB.$URKAYIrWb.jW94gvLG1gS1"
Output for 5.5.35
string(34) "$1$NxiXhuPg$YiVVQvC4T7Xsx2w9hANN5/"
Output for 5.5.34
string(34) "$1$IfqTXUN8$oJmcuL0KZoCqCHUB0rGI91"
Output for 5.5.33
string(34) "$1$9R/1W985$CBwiFiKM3WL8UXdRBmQo8."
Output for 5.5.32
string(34) "$1$4wu3FWRp$y4ah5L0.sY7YMURNsxv6s/"
Output for 5.5.31
string(34) "$1$tVivzd.q$yc9cvuzFU0UHWlPXJ1PLv1"
Output for 5.5.30
string(34) "$1$322xYnp1$8Na4HCn6CcM7tiSLRkjKn0"
Output for 5.5.29
string(34) "$1$vYTt8UUj$HEyXY4VzK2GrEqxqyid61."
Output for 5.5.28
string(34) "$1$CL2gOdIY$cdD8lin2UW/GhIr3fX1hC/"
Output for 5.5.27
string(34) "$1$ynVjazi5$HyDZRbNWhKfjhqAIW3GW6."
Output for 5.5.26
string(34) "$1$joxkqep8$deWzBr4v2wKgWR9Bkagfa0"
Output for 5.5.25
string(34) "$1$U2I/gG9g$e1Yd5xv9IDhkX13WbuBis1"
Output for 5.5.24
string(34) "$1$.DOE03vY$KD37NWT3Lds9AwysxrRt5."
Output for 5.4.45
string(34) "$1$caHgS4ei$kpR5zpEnFgSMW/lnmY2/Q."
Output for 5.4.44
string(34) "$1$EGmXE9tZ$M4Bx6rMQuQ8vjnxhKCIB3."
Output for 5.4.43
string(34) "$1$ahII2wUO$FIOjP5TRwHr/62gW11mPc."
Output for 5.4.42
string(34) "$1$WryRQsMG$fH1ZlAQgc4MFA2B2cyrOR0"
Output for 5.4.41
string(34) "$1$rDwo/Xw6$fmx/5qINiqo0RcIxabMQY."
Output for 5.4.40
string(34) "$1$MPnXWOBs$1prXV4JHxCd4crlaMqCgh."
Output for 5.4.39
string(34) "$1$y1/fiQqQ$.Zhz0hgAGMMznYFjRV54q1"
Output for 5.4.38
string(34) "$1$kRWFkOUO$mLGR3GtbtrNf.OqCXrHjD0"
Output for 5.4.37
string(34) "$1$0bW6Ch/4$2V8vKpgqYQp9rC2doPrM81"
Output for 5.4.36
string(34) "$1$UYAHGEag$y8Y4wgetIWQSaw4hbBKRu."
Output for 5.4.35
string(34) "$1$BjcFgxPQ$y8UM9V5LasMiPH8Sw30dE/"
Output for 5.4.34
string(34) "$1$ZvvidrWl$k26BYeG4KjbUPbffi/cQk0"
Output for 5.4.32
string(34) "$1$M5jxVZt/$mwNBZ61/8Dbvv6HDbartJ1"
Output for 5.4.31
string(34) "$1$/sQ7Zu5X$55MBR4o/R6GNX6ig1sKqX/"
Output for 5.4.30
string(34) "$1$MMbYMpPf$WlBN2HTqDCL7F1zHTiXFS0"
Output for 5.4.29
string(34) "$1$UfbKJMX5$nTN/2dUFL0zOAnI45eVBc/"
Output for 5.4.28
string(34) "$1$WZHVb7vP$S4uxI3afchzQulhOt0DQj."
Output for 5.4.27
string(34) "$1$q0ZUD/YE$JzsRl9IOEvm9IYyfkhTup."
Output for 5.4.26
string(34) "$1$UUqEwEVn$L7XV4GqMDfUgnEetoSSWN0"
Output for 5.4.25
string(34) "$1$Ws8T.sVb$pmznFVtzsclrBKFR6KwWc1"
Output for 5.4.24
string(34) "$1$wM483CC6$q7pfz.4ileBFjPO9qJ51I0"
Output for 5.4.23
string(34) "$1$.Gydo4YS$gJa.Q9AUb9WgZJ5vM0nNf/"
Output for 5.4.22
string(34) "$1$N7bH5kay$AosXo7cbaSTZc0shvj.js."
Output for 5.4.21
string(34) "$1$KXMEM1fc$s4JmmQs7j2dgSUxhH48zn/"
Output for 5.4.20
string(34) "$1$ajMRDmdY$4iCpbIrPk0O0peVQjOax21"
Output for 5.4.19
string(34) "$1$oYI0FMfh$jIuezxoBhQVuglClg/cMu1"
Output for 5.4.18
string(34) "$1$nvFJcXfC$jGyzatDYX3myLAPZq9ZO.1"
Output for 5.4.17
string(34) "$1$g4X.PpHd$U/c81w.XtE1bC660/F3SA1"
Output for 5.4.16
string(34) "$1$bofjZJJV$VxmJlDoFXquskZiNLumWG/"
Output for 5.4.15
string(34) "$1$GSXGDquX$dohfPhcwdMYiPpio56rEG0"
Output for 5.4.14
string(34) "$1$g4urkQT3$WUVcXwzAiVkm8pyYZBnUa."
Output for 5.4.13
string(34) "$1$R6s9mmWm$JQU5HuTSDq820Q5G9Cwu9/"
Output for 5.4.12
string(34) "$1$BhB7tmdX$hBjDEFU40vTo744GW6ngb."
Output for 5.4.11
string(34) "$1$VXe6zqWa$l3DG1jVQpaEVH57NyVp8w0"
Output for 5.4.10
string(34) "$1$OcHm7Mrf$qS7q0D6gFQVLlwcCWYY8q0"
Output for 5.4.9
string(34) "$1$k4a3moSk$xfabRgt8r.w.fEf/me6b4."
Output for 5.4.8
string(34) "$1$fLsn9DTs$zE5/rvhLLdn6fjDqRECtX1"
Output for 5.4.7
string(34) "$1$dy5DJPud$A5KZYLUgcd4P51c.HJN2N1"
Output for 5.4.6
string(34) "$1$qBjzzjRA$hIBFlFzssv.aZSofbld.F/"
Output for 5.4.5
string(34) "$1$XHQBASJF$wg.Uxq88gLGzxinJil/Gw1"
Output for 5.4.4
string(34) "$1$YvNnlDwf$JztWRw0nG7ACubzuPCeIj."
Output for 5.4.3
string(34) "$1$yCQoTzBx$fPUGTjfjrG4E0cUPAGo5n."
Output for 5.4.2
string(34) "$1$ScxhWER3$CaI1cPTZWso8RCP6Ga8LU/"
Output for 5.4.1
string(34) "$1$UmhMf/1H$Aj586xu0qlCviDYK5ZRo6/"
Output for 5.4.0
string(34) "$1$6.YpWI7G$dj4i1ZVHHgcYJuwwmRuwg0"
Output for 5.3.29
string(34) "$1$FBZ4pjB.$385leZH5PJBDHTh2Ddh6S1"
Output for 5.3.28
string(34) "$1$tBMv/OMB$yyQfXdVqIAkSg1z48LaMh/"
Output for 5.3.27
string(34) "$1$2BHSeX35$3CJlbKp.UHGB5.7I1yT12."
Output for 5.3.26
string(34) "$1$VFut3b/c$ExcBqwSiqYmPOrmweGGQG/"
Output for 5.3.25
string(34) "$1$XGWypBS5$A9ugdPqUtdUFAdcFvdL/.1"
Output for 5.3.24
string(34) "$1$zfYMezZb$vphjVuwMsYJ0fDSZszFer."
Output for 5.3.23
string(34) "$1$u/6zUW2j$ca3RQupuMPA9iNFBUGXqv0"
Output for 5.3.22
string(34) "$1$9IWLNTBD$AxT8SFshzKaXB8ckHHMxJ1"
Output for 5.3.21
string(34) "$1$ehfCKTvT$vwPh0pnoPD3ByvjWSrX0V0"
Output for 5.3.20
string(34) "$1$/VClUgoN$NNrj8c3kXbrqto8M3tEPj0"
Output for 5.3.19
string(34) "$1$sHRnXbxX$18T/Mma1U.Du5ihXfed0v/"
Output for 5.3.18
string(34) "$1$S68X2nfK$JDiUbsmqveNZtStb9XAiY0"
Output for 5.3.17
string(34) "$1$FAmW/fU9$g2uINohcDAxeUc5Fw80VV/"
Output for 5.3.16
string(34) "$1$Bb5kJ06Z$WrpOCFN62eDFFYhVKYVOX/"
Output for 5.3.15
string(34) "$1$jD4JEPFH$DFcs92SSBfUjwEbUSc6lo."
Output for 5.3.14
string(34) "$1$6wIxriRS$vYs0uuVjYMrmvO1sjYlMW/"
Output for 5.3.13
string(34) "$1$hWNu/46f$pbOqYNSc8F/2cM2J4VvfM."
Output for 5.3.12
string(34) "$1$HghJ2jd6$mwTP5VOWF01N8pCJ2nEBL/"
Output for 5.3.11
string(34) "$1$HNcRU6sM$AjG./Wy/pH4snkhAc9aab0"
Output for 5.3.10
string(34) "$1$ngJWn7J/$DuHvbrT2pFH.P4wz8oCht."
Output for 5.3.9
string(34) "$1$EJGH2Rpj$TPLzy5uuuKjGP3v50FSsv0"
Output for 5.3.8
string(34) "$1$zfwoYRng$85ZKHUUcpHIippcTh26ku."
Output for 5.3.7
string(11) "$1$Mqipvd8t"
Output for 5.3.6
string(34) "$1$QtbToI4Y$jPVZOevZ6HBXWfmNiMHHj1"
Output for 5.3.5
string(34) "$1$OMqGFK1z$8Var72xSvD.be9Q3QOAFf."
Output for 5.3.4
string(34) "$1$6fm6oMSF$vjwD27WmYOaNt25rk3g700"
Output for 5.3.3
string(34) "$1$Kuya6ufj$iRTqnpZ1wR0c2kCnrFRHx0"
Output for 5.3.2
string(34) "$1$Q6.sJntx$EEx.fzQ7Q8G7QNgVLEOJl."
Output for 5.3.1
string(34) "$1$phqi6N4B$okUNVl7gy/y9wkwPFIC8L."
Output for 5.3.0
string(34) "$1$RBWeuVjm$4GKSbyAj.Qzm4dDL1RDMK0"
Output for 5.2.17
string(34) "$1$fEH00jpq$7Caq6aTeOiawNlm3DEajD."
Output for 5.2.16
string(34) "$1$PKZxOY2Q$U1xneuvUypVEW3W4ywFlD."
Output for 5.2.15
string(34) "$1$6wH5S2Zv$9MZV6WoW6djONWSp0wA261"
Output for 5.2.14
string(34) "$1$dFRM7NnS$8do2DWzsLTguMIiTFE6aM."
Output for 5.2.13
string(34) "$1$sgSDOySP$csOAb5nglnY5LqJHxa24x0"
Output for 5.2.12
string(34) "$1$zWMa6.PQ$Ze37HFJ8VuV.V6H5d8mKj/"
Output for 5.2.11
string(34) "$1$0BG6ShGx$p2aaUzbOpjnehSKeszIW.0"
Output for 5.2.10
string(34) "$1$F/LgLJ0k$lho5ljj2zJoJcsFEm.tsd0"
Output for 5.2.9
string(34) "$1$c.NPanTH$uILX4Xrv8afgtvm5.RZ6A."
Output for 5.2.8
string(34) "$1$q4w.vKB/$lNgQVR7GgUrFEtwlTkvQ6/"
Output for 5.2.7
string(34) "$1$XkX5qijo$0aR6KQpgzZTkCNq3y1Ond1"
Output for 5.2.6
string(34) "$1$wHmj.VVj$BeNFTZrWyaUaxGF53pQmU/"
Output for 5.2.5
string(34) "$1$VKeGqvQ4$f941v9.iU8hWHPBRvDQ1x0"
Output for 5.2.4
string(34) "$1$xsQmDpVH$qPqbkXrz/.NAFXVWk0it./"
Output for 5.2.3
string(34) "$1$mHN0GkIl$inexGhDZjiLF2U4aKsoqU1"
Output for 5.2.2
string(34) "$1$1jnHIzrv$0X2jLQKm8q.I4uEmbhBNT1"
Output for 5.2.1
string(34) "$1$MOGKd/9B$JhcHcC.Ll2a0imjOF07pj/"
Output for 5.2.0
string(34) "$1$kvsovBJq$B4dbUcvkX2iaM0HsXRGlh0"
Output for 5.1.6
string(34) "$1$0sgUjyS0$JU2E.uzJpg2ikpvyjmspn/"
Output for 5.1.5
string(34) "$1$CB5KvtVG$iq6REC5E3n/rfVbjVsEyy1"
Output for 5.1.4
string(34) "$1$ofD8lZJT$E/oWbRZgBD1FmqED0/cj5."
Output for 5.1.3
string(34) "$1$17BO7gnp$7isR8f3d.Yns/8NsfxxXn1"
Output for 5.1.2
string(34) "$1$Drkzi4uf$ywid6WyaJ4l24NafGw0ql."
Output for 5.1.1
string(34) "$1$blfrQa6/$N39GWl192Y85KVKT8PLWI."
Output for 5.1.0
string(34) "$1$0rwbTkFN$1xnChcc17yeFp7XE2.Ng8/"
Output for 5.0.5
string(34) "$1$uddbKCuL$W8IEBME9dizYdOaqzua28/"
Output for 5.0.4
string(34) "$1$3wH1.V/M$uWLv/fcCrk5d0vOGGCpS21"
Output for 5.0.3
string(34) "$1$NcOanYGG$ONTGO2/b64bGHPGOFscdq0"
Output for 5.0.2
string(34) "$1$cVtI1isR$NIsnsXVyI3Q6qgJiNaujo."
Output for 5.0.1
string(34) "$1$QpeTjHE2$VogcUlF1X2qM0vp0Zomg.1"
Output for 5.0.0
string(34) "$1$ThKIIpGD$94rH7Ze4uRHriE047nNjM0"
Output for 4.4.9
string(34) "$1$arxhWidX$gBwopUccEq4Dml6dnLdpL."
Output for 4.4.8
string(34) "$1$JeoM2zbW$Z9YChRrdISPLH9/Az9Dx0/"
Output for 4.4.7
string(34) "$1$EuRUaUW8$.bxmeDxxNtOXLVNmYCl3l0"
Output for 4.4.6
string(34) "$1$iLj1tD2C$guiWexEoGxMVE.nWv97zW0"
Output for 4.4.5
string(34) "$1$4nYfEJHZ$HXJ7duwagnAzbngNNz4Ff1"
Output for 4.4.4
string(34) "$1$UMz9FlKF$T8iP7KEUL7lVcRXFD9RmG0"
Output for 4.4.3
string(34) "$1$pxBuMDVo$6DoIN7zswysNKfUDQmm4v1"
Output for 4.4.2
string(34) "$1$eBJ8mjHe$l/I7PusgPCerc4D60QDcz/"
Output for 4.4.1
string(34) "$1$ILasK8Eh$5SS004OthY0VuUp4jsuZC1"
Output for 4.4.0
string(34) "$1$KEhEAXvs$f2XeXM1HguSdgl9QOsVAW1"
Output for 4.3.11
string(34) "$1$Hmyndhbq$Zq0fqkNaJl46nnvmLj0vS/"
Output for 4.3.10
string(34) "$1$p5zGdLpy$AvlStVnMhWkdD/buUOYc71"
Output for 4.3.9
string(34) "$1$NPyqt4Fn$gNereG887TlaM36RvnPqq1"
Output for 4.3.8
string(34) "$1$zyIEGFaU$pPw1i/DeTzLMGmUWIneop1"
Output for 4.3.7
string(34) "$1$gNe/4cIH$ZKMjb7NJoW52bHdR/Z5mF."
Output for 4.3.6
string(34) "$1$YYE6yh3D$fj2qaavWIVzhH.TsWnTDd0"
Output for 4.3.5
string(34) "$1$gCq/peta$CxUK5RcfMfzUxzB6JNcfu."
Output for 4.3.4
string(34) "$1$MnJEygRC$Qrfj03UoDeMt5hYrHH7Sc/"
Output for 4.3.3
string(34) "$1$XvM2Ntkf$nADtT5/Tp0XOnGpEcSuEo."
Output for 4.3.2
string(34) "$1$ppTtypkQ$nMAwh4pDEzSdxISNnR13l0"
Output for 4.3.1
string(34) "$1$mI3kgK0X$zhdX94wL5vYItfn6kiMMs/"
Output for 4.3.0
string(34) "$1$hRZp7jq9$CCJprlR5j4hpljHDdxLtt1"