3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Set the password $password = 'mypassword'; // Get the hash, letting the salt be automatically generated $hash = crypt($password); echo($hash);
based on e8b6W
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/9CkW3 on line 7 $1$B1k1WU9M$77l7la00IDutKP97XzpV//
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/9CkW3 on line 7 $1$Qqb7TttM$Ga/Xfoen4jPkZkc2KPqT30
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/9CkW3 on line 7 $1$OoBtcJvR$NLerI4zM18aD4IkWDvwgl/
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/9CkW3 on line 7 $1$7SixOJXh$NYE7vxunAtFVEedethUev/
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/9CkW3 on line 7 $1$r0xQoU31$PfRehZTB56RTOOU1omFno1
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/9CkW3 on line 7 $1$WbOS0azc$5VF9rNtfbWHB57meSiG96/
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/9CkW3 on line 7 $1$bN9NVgOk$2jvDe8PWkicQWF9XP6AbO/
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/9CkW3 on line 7 $1$MbURXbOf$AwGaB0oMGO23ZojIt.7Kk1
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/9CkW3 on line 7 $1$5d6vrBKr$CFMxilvU9BIs8IE88qEtd.
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/9CkW3 on line 7 $1$z2Ewc7aL$zSVc1k5jVc68oRhha1NtP0
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/9CkW3 on line 7 $1$haPFZ2/x$Dw11OvyHIWK9c6R2v9KmM1
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/9CkW3 on line 7 $1$elKEORv6$WwQJVTaLqUwzfsvJJaaMT0
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/9CkW3 on line 7 $1$kJwjmMkW$ZmNYzafY2/a/sZ600gcHz/
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/9CkW3 on line 7 $1$7z/KF13R$Vj80B739pTv7eEkATNlED1
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/9CkW3 on line 7 $1$hRSrkNo6$Cyln75lgfHrWx/uTmrYRV.
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/9CkW3 on line 7 $1$3EQfwTYi$WQW/ecAF3Fzp5CHMgGpbm0
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/9CkW3 on line 7 $1$lKYxRvfT$d4YdKV2OmfedOIMS/zrhs0
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/9CkW3 on line 7 $1$MSzcayfq$8IAyg2AWyXkOem5sKa0IN1
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/9CkW3 on line 7 $1$IdbsT995$O.xsYrEBiI4JmZgkmU2K4/
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/9CkW3 on line 7 $1$kvW0/HqR$xWmCgih4jmFJmvfUDDsua.
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/9CkW3 on line 7 $1$rI1eOoZg$xA0yb2O.TzrLfZDY1YrSA.
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/9CkW3 on line 7 $1$ZmuO1QQJ$DgIbXKHYjk3D2wUeKd.7t1
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/9CkW3 on line 7 $1$yiaQPxqY$bpg5rCBmonLnIos4aNXMX.
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/9CkW3 on line 7 $1$jUrk4.Tg$4EfZy85saiUH2bYNAp7zx0
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/9CkW3 on line 7 $1$fQwRjQLt$IVCdTv3YuxwCNmaNwveSM.
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/9CkW3 on line 7 $1$cHo7yXfa$sRi/Kmx6KsLVf44pdZQeJ.
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/9CkW3 on line 7 $1$QUL9tyr9$AFNdriITRH5UGI27Lhz630
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/9CkW3 on line 7 $1$bP9z18oo$AFkKXPUCVbXZHaR4tp5Zw0
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/9CkW3 on line 7 $1$0D.dt91v$ZV1pi/WdbLEBRSdyhL7PB.
Output for 5.5.35
$1$iQ81SPu6$X/gXwpGyefzokTo4C0vw.0
Output for 5.5.34
$1$rMCAcaHL$yBSoxwN2NHaOcNTSgsW7p0
Output for 5.5.33
$1$AdKZFUo.$GIcvDjwEyGk6KZ1xLTUM9/
Output for 5.5.32
$1$CRGK3G5q$qLQ2jf5aJY/..tn3e6cSM/
Output for 5.5.31
$1$4iBd5xmx$F48/HGzeIV5gcFhuNmm8F.
Output for 5.5.30
$1$HcLOgNAt$Aj2U1vJ3aUcvkVIZOqs430
Output for 5.5.29
$1$bH3DOJVP$l6rtR.JTnl12ZZLdzi6ij.
Output for 5.5.28
$1$JPhpO8hu$0pHOXo7wpO5FvJCt8Uewl.
Output for 5.5.27
$1$sMw7DoGj$I40uSdJ/h.2ARJ2p./i5.1
Output for 5.5.26
$1$YBTXyp9f$.mdbB4cGw5hUPc6HxlpHl.
Output for 5.5.25
$1$fKRQCo1O$InHx9MxzZHvAZ6epkTrde0
Output for 5.5.24
$1$9/xgWzF9$wwBkrhxphvI.ta04A1B7x0
Output for 5.4.45
$1$X3NFNNx8$Y2wIHGkr8NATb4IMGJboC1
Output for 5.4.44
$1$6ZKjwPpN$uK8Abe61rgGSXS36afi.s.
Output for 5.4.43
$1$wo/eeHsj$9vNB0MVivUd0m3kkfvGnt.
Output for 5.4.42
$1$ThoPGmqU$Mh5gZbzpfqbqXgN2V///S0
Output for 5.4.41
$1$JmgBFZnB$dAYZwuw0QfaBVdgsEc6BB.
Output for 5.4.40
$1$XgMtA7NX$PIU8uEgdPyd6DYOygq8d11
Output for 5.4.39
$1$wcYn3B1U$MdNDVGmgK45oy6KBjqT9j1
Output for 5.4.38
$1$aSreBJQk$.Mb5AX2nhnYQ.9a.Dhg7Q0
Output for 5.4.37
$1$vpstLZTA$PaYix5Gm6XoeUn8dlPsOc0
Output for 5.4.36
$1$TlU2CszQ$RpSLfWWDb2dEslbg9KGRl0
Output for 5.4.35
$1$mcsmi/rO$prleWMD3k31AEK3eVBpJq/
Output for 5.4.34
$1$aD5ff9C9$4Axery4n4gDbhsfrN1yVd.
Output for 5.4.32
$1$YbDIhGv2$LotYC4JkVOjmsE8580MB61
Output for 5.4.31
$1$nP4qtY6b$lTmkqIv82R02CR4rcrTm21
Output for 5.4.30
$1$DTlWRaVK$c1klBZBoWUwjFk/rpSGF60
Output for 5.4.29
$1$NbT0EP22$vntoO5JWGrvME2.NSOKJM1
Output for 5.4.28
$1$hyOg3KpF$d1P0kgGKssafQf6xT9WCD1
Output for 5.4.27
$1$..qz6OoN$bNpZlxrt4Hzvo2enCWGmR.
Output for 5.4.26
$1$kJw/TMN1$NEXnCslooDXml7bTGj0x20
Output for 5.4.25
$1$vNz1kUDc$MOHDQDp/4DnXJr6XDQr9M/
Output for 5.4.24
$1$o9uGDkD5$T127CEqEDGxXn4/tM11Rs1
Output for 5.4.23
$1$RGlIgqUR$y9G/ZSC.h0HZ3X1fC08DK0
Output for 5.4.22
$1$y0XarTjU$M9u1AN.bg/qoR0nmJgdQS1
Output for 5.4.21
$1$mFqgOy51$QsSMNnbUVER.z3S7R5pp/1
Output for 5.4.20
$1$AdKr2kZf$ZuvBLmdH92kujstNr1QdQ.
Output for 5.4.19
$1$afQUj7SU$1FfgmlKq379g3AIiezzRW.
Output for 5.4.18
$1$N2e2bclh$/0QlAUdOy2h6Va2/AeJNR0
Output for 5.4.17
$1$Wz6/qtMC$x.ExloxSRs01uo2/MmK8J/
Output for 5.4.16
$1$pCYQWlZo$UUaQgH5nMWF/nSSzQ7SDg.
Output for 5.4.15
$1$A2aKFn2Z$IAmBxiDoaGo1PCRdiuo06.
Output for 5.4.14
$1$/A6Gw.eg$PvPjfRAxY.nHiRrK9qckE.
Output for 5.4.13
$1$nMUuMVSe$5FXfqcn7F3xBKlhC9nYvs1
Output for 5.4.12
$1$jO2Hz/q/$ZbyloAJLo1bf1.es2AIhW1
Output for 5.4.11
$1$ZG7aDvvs$SvOezfi2IvUsjFPorz7xW0
Output for 5.3.29
$1$gdxagzVM$NKbi7AQirg/b8W3jL8WoJ0
Output for 5.3.28
$1$YxpW/.GK$oe4t/HAggYEJ8MYIHN15q.
Output for 5.3.27
$1$bMJrPLpn$2bxQUHPz1Rz.W7lHu34nF0
Output for 5.3.26
$1$3VTOHasS$GzYqIgfoCtQ8yfYP64xLa1
Output for 5.3.25
$1$wtTZjBhO$44v/GoJ2Nbx2lZUbH32Uq0
Output for 5.3.24
$1$/nUsX9J1$lj4n38RMs3xZrlqKaPJq00
Output for 5.3.23
$1$NtbtOgiD$P1UhJHrKHVtg4BsfFvQAl/
Output for 5.3.22
$1$T9GxT9Y9$HImgo2bz1TzItVJVgKZcK/
Output for 5.3.21
$1$PErYZJM1$jhqoARH2Ww722YVnnlaRg0