3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function hasha($passwordoriginale){ $crypt = md5(sha1(md5(md5(sha1($passwordoriginale))))); $caratteri_disponibili ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890"; $lunghezza= 22; $salt = ""; for($i = 0; $i<$lunghezza; $i++){ $salt = $salt.substr($caratteri_disponibili,rand(0,strlen($caratteri_disponibili)-1),1); } $newsalt= '$2a$07$'.$salt.'$'; $hashed_password = crypt($crypt,$newsalt); return $hashed_password; } $passworddacrittare = "password"; $passwordcrittata = hasha($passworddacrittare); echo $passwordcrittata; ?>
based on OfJJV
Output for 7.1.0
$2a$07$kcXUA1uHWEGS0f9Y0uI5G.afmUXqCxLhi0DWqknVrPqsQzBwUUglC
Output for 7.0.14
$2a$07$ZpCVyPKZDfYEfG2y3TPBwusMcmhH0bO9W.XUIJNHvT1X0hOWrojC2
Output for 7.0.6
$2a$07$Cbfl9BrqVQI0izpD1Jb2G.02z2nrfBDajElzJO2GvT9EMZ5HbZIm.
Output for 7.0.5
$2a$07$3EuauM17nDwmyrqRfUVDAO7dqIh6nF5eKIMDlC8j5hjHrrT59K06K
Output for 7.0.4
$2a$07$npErqNVchGjwRazg8P2YROXaDwHOeo4AyZSScyfSUQXqOq/dcZ5zC
Output for 7.0.3
$2a$07$M4S2sdi7simluHBQyWJjMObEK13Htvl36pMna0Lu60j8HwHxv57Rq
Output for 7.0.2
$2a$07$IzPj4QfpJQMao2XZwEqsfu./CnwG.BsQCGfqHEkcsysRM0YPE.UaC
Output for 7.0.1
$2a$07$7wUGnLPi6YeyXVmlWl5Br.u3sDFoH3sqwf7yFcNGv9z5eRL3W35UK
Output for 7.0.0
$2a$07$abkDN5WYNCMYu1dpKDG9IOXPF4xilsqK2SD0N5x5bIuB2N9LqagGO
Output for hhvm-3.12.0
$2a$07$p1mAQnwL4qadEPb5DYstD.YI8FvP/2yiHAFooqwwKrZAyYC1onFzW
Output for hhvm-3.10.0
$2a$07$EGk2z3buQcVOONF9yTG9BOh5fl6Tyv1mGLtuq8CTbrFgFq3/xVtBW
Output for 5.6.28
$2a$07$uGtfyVk1E2eNthl7sTaS8ODXLoAKi63ZC/si8p2wvvKNq/m9u1fYe
Output for 5.6.21
$2a$07$qNaHYUNEda0gjP6dqQGVBuK6YWjI.kyyD11KOqIHvRCQvCVfly7RS
Output for 5.6.20
$2a$07$mYg7KXMtw7pkIkEsbK7kAuAQkLZozD5aWyKc.lV6ij3ykb.WBqtJS
Output for 5.6.19
$2a$07$NlTAyhvBhr0oRDYNilaRzO/lGNKOWnyyEDLBEhxOSC7g0Ly6ZS4LO
Output for 5.6.18
$2a$07$GTCiecdsq2xYevC6QvprseWaW2svJ4aADzpMnKH6O0TrfWxeTsjj2
Output for 5.6.17
$2a$07$jlI2JbOzhHMFLVDO7C6gHeQgJcMHhxgoAGs4Vt9sLWCRZGvg2f6Qa
Output for 5.6.16
$2a$07$wko7hEMxR443F21dqr1I4OorM2D1eDbNH7F/0BvUljFWj701Ogfru
Output for 5.6.15
$2a$07$wfofOZij4OMbhFJjlN28Sej6.32bg9Mi02siQLzH0nTOEx3QQwGj2
Output for 5.6.14
$2a$07$u1WKILORHCv6AWhp3wd9puPQIzX4alsBdPjMYElgSiXfJS3OqMyii
Output for 5.6.13
$2a$07$aLFhOMep8HlZ7vWlL5cxde7YLfmXSaA31DY2GONis.RHR6lvHK8ta
Output for 5.6.12
$2a$07$Y1tYG4NInNdy3DrIChhSu.bzo/RFilvs93LYOj0vimi0GyGSvip86
Output for 5.6.11
$2a$07$Ec291KXnLxYyfiIZtQjOduW/50nbdiLRuIcoi4mJ3HorzBwlKIAsO
Output for 5.6.10
$2a$07$WjevOaPlAJQdGnmj21LJ8uxrn/ZUdxsz4YzuWGQPV2hzdugJfQYS.
Output for 5.6.9
$2a$07$UKm55E1ejeulxE7pr5otBOh8jKwi7Qa.fQ4gnL1Y6bFK9u9T.9ht.
Output for 5.6.8
$2a$07$wXrfDeSNyD7Vd2zB32QsVuT.fB0NNKy8RTIRvPhlDANUNtbLRXj4i
Output for 5.5.35
$2a$07$dHtSmtlC5TKSh6QCPDdZB./xC4w52Rz5jUWqC0Ot6ijNxGKNcZ9MS
Output for 5.5.34
$2a$07$mYOh3M9CO58mZpA5CaL8feiFXNEZEUkyNHMH71gIbwuYC0nq5h7jK
Output for 5.5.33
$2a$07$xsE1UhIHuiuNdzo8Nl1wceGjIxZsFVXWCjmRgnC/dFnrn6DvTy9i.
Output for 5.5.32
$2a$07$Q0lVKY7lUWlYP9B458doTemetG0Os.L1kpJCgtSQWWp2ZeX.X49yi
Output for 5.5.31
$2a$07$b7crST2ELM7kpsgwqT2TqONX6H0Pxc7RGXC8I03s2h0DFAt/QlQJW
Output for 5.5.30
$2a$07$PughUgSQmUu6DUKU8x07JufckV8sVg1J6Vze7verIlDmDYPVCh59G
Output for 5.5.29
$2a$07$RVEY0Lr28W46uqSrt0P1YeAMIU5sUkiDiN1PGw.kmMoR1ioyZqYAe
Output for 5.5.28
$2a$07$1jFT8DDSL02vUSAUJdp49.961ub5PgZkKex1buA7hMiaPYuKlUj0C
Output for 5.5.27
$2a$07$iOG5OFRYwj6ZFjEvQn1lEu8PXHJokoDR5jKqi5I9FdKCzFttylX1K
Output for 5.5.26
$2a$07$GpUePZOvVpMspeQYuUNHfuO89ashqh6JgydPoe/MjiZGvbSxvpak.
Output for 5.5.25
$2a$07$QNohO9jrGUHlREpFERXR5.hw7XynLW84i0ivYttkUM.vTIMtKJKcW
Output for 5.5.24
$2a$07$wRpW33wE4zXMWhaYJnwnAeDBD5uhop8DwBopoRK09oz1hLf2mLgPW
Output for 5.4.45
$2a$07$xTCbd3s9mIvYOzKkOSPibeaMxFVcjNPhch3QhHzinS2CIaPpGDaNa
Output for 5.4.44
$2a$07$nSW22IKRFL7PSu076j7ue.gg7cnX4fBwq6w5DsDfZus6KD1EwhBma
Output for 5.4.43
$2a$07$Y5LzOw6113sajkwXD4BdMO0PxYPT3/tIV0rAKlfpXcLIEoxqhA0.e
Output for 5.4.42
$2a$07$UVyLtefJG1A7WwQwkoSNguNfzJKL7UdmMSjCzlyoZSxQbwmWTfm36
Output for 5.4.41
$2a$07$U26RESeKpNLQoKIn472INe3o8jWRMOVT5PoBnw0h765p0fD58H21W
Output for 5.4.40
$2a$07$rpTRj0Lowix6yAhZy2LeseJZhm4pujeM0rEjwcrZRJ6KZerGD270O
Output for 5.4.39
$2a$07$zQ2hvRgdYBZYrAOiOayopelqcOM8oMBNVBLo4OnTR7YAt2P71z.Fu
Output for 5.4.38
$2a$07$ZTe851ZUm8N2ZQAEiHQ37et0a.uy.A4b7wUOGOvs5AbTZf9Wa8Iiy
Output for 5.4.37
$2a$07$9e2tSif1t2sOn8XLlsQvCOKs2.ic5TZyl6Pkp4o46uTd4B6qYFpr.
Output for 5.4.36
$2a$07$wR3555ivYOaWsPvXazTzueRdZPLiiLejQA0rug3U0gfdV61njmGyG
Output for 5.4.35
$2a$07$Af8i29kzfRracgnuIarnPeFhvR4gUBbvsUhq5zOrctvRHxQ3y8dXy
Output for 5.4.34
$2a$07$sVx4Vsit3FmA50vSWPsj8.8DoCyZl6gQMUqjeypJIrPcJgkU8AveG
Output for 5.4.32
$2a$07$ik2V23n9ZiatU8W2qBJPEeb4821OikKdutWkaPpi/3VdGviFLwzuy
Output for 5.4.31
$2a$07$TJXo9s7KBJKphwtv9mxMfOZE/r6qaBzw./XnRgiDOhkgL5DHAjqaG
Output for 5.4.30
$2a$07$d3kE5srPzvnYtbusQjJWiOfh5FuLpIq32ZrvvOpkv2RjECqKdKMti
Output for 5.4.29
$2a$07$igqLqtlAtPqlBE7EOMro4uN9.wtaWXlu7EkXrKIAFENP9YU8BOMQ2
Output for 5.4.28
$2a$07$NRBwrVYmddojNPxv8szvS.VdHHqKXR3kARsbHFrOHllKLSZDzC3y.
Output for 5.4.27
$2a$07$qIkAaCgogH2ae9AiWvI4nO9JH1QaLoDauC7pOozXB2.qqwYiBboDK
Output for 5.4.26
$2a$07$7mPWgIT01pgdUmBqwIXJv.w1ViPz/8HM4kVj5rDr6Gxw70nSPhr/G
Output for 5.4.25
$2a$07$UgeHKFNWll4X3SNRy402XeMWPahbART/IftOMT8xubP1DeTzhYvlO
Output for 5.4.24
$2a$07$CMLpLbkySu75lCPxzsOPhO7dK3ANLa5MhYgC.DNJXltGSGh/PbW7W
Output for 5.4.23
$2a$07$m5N57bPFV8ERtHCT81m4g.vOwGsD16xZ16UJcZvIj1skwNO5J5MIu
Output for 5.4.22
$2a$07$sQHGkZLg1L99tRAfA0WbfOId6T26k3bXK9iq1YzESxFffTRDEm3U2
Output for 5.4.21
$2a$07$ulJAD5Icec4Br2thk2CnKuiWzW4DqEbFQX5a61Ys4eo2Pop9LdjMq
Output for 5.4.20
$2a$07$z1CluasiJoYwigqXXKEh3uTGIwYNXE7icIWvw/jvKj/1uzPuCiF7K
Output for 5.4.19
$2a$07$yUKW88sMoORhla9az21k0Os40X1f6CRNDuBVae8VXB6JMj2kvcy6q
Output for 5.4.18
$2a$07$ZuVtzB9xPQ2D0eyHcfsDaOR2GDhVzRy6QZyzZORo3pefjxGOPo382
Output for 5.4.17
$2a$07$AdZYysRIcLi7RsUbSVhNxuJlodtzPxWeJmgoiEfodeWWpuXCKJEam
Output for 5.4.16
$2a$07$DmAox7oedK0RiYUMuDDqj.d/bbWXSVTaBdLRXH1WXYdpgcc4f526q
Output for 5.4.15
$2a$07$iIFz8tDHW5QbCWnoTLYrouEmxIS2wlMUp2Zkg9bxhF/OKyIdmluv6
Output for 5.4.14
$2a$07$EWLL0xXKlEjNINX08x7OWuwo71cVgtS7yIvN9Mzo3fPJGMbHS2.ai
Output for 5.4.13
$2a$07$zyRnlq3HbN1cD58fwvz5fuOhNOn7Yc7544txPngtSGjdooVOWdMrG
Output for 5.4.12
$2a$07$1PDNXltFojLAoRvOx05xT.X4nOplyo0tRpWWlsMIQhJ.htBJeisIm
Output for 5.4.11
$2a$07$uhrhe5YqRIVhcTpezQck7Omf3ICyG8.5GobfX0gurboJpic98MZCG
Output for 5.4.10
$2a$07$1MBRPPCB1FMA3kaXuWL7zugsps0Nbhuke7k6Z8wZTXL0QYJGJbGAW
Output for 5.4.9
$2a$07$G9aHrhNFGxWkuBlAFfa4deugi2obQcRNa3DkGrEjlZFXrgLIn/weG
Output for 5.4.8
$2a$07$6UNUN6yxoHG2JGImJAHaMu7imj8GdSKxP9fPf46YdLIPanKyfyc8q
Output for 5.4.7
$2a$07$TMT9Dqwj6I8ZWXnFRJOPG.wzHsJW.9l50/mEMGxl4dKueKQiwVksW
Output for 5.4.6
$2a$07$wEhRe82t5qYKERdNmexZOeqbmd7ZnSE1cZc7Mnl6YMu/6/BHSuCD2
Output for 5.4.5
$2a$07$jHXIT1zoAhSjq0mofu6YYOXSme7OJviCLhPRD00x3h1KmpzwQ6LIm
Output for 5.4.4
$2a$07$nUrTyO2qlPRPWUrS158bheSTinJkVHJAGDPnwoH6DpEDa71kWtYqa
Output for 5.4.3
$2a$07$801tYmXn0QkhIS16zMsHeO.xz7MPvCcyJwf2p8GMDuDTSOElul4DW
Output for 5.4.2
$2a$07$GU2NDuJGdMFl7xsSxNJLTuvDhwl.TKke5BnpU9qylkgOAbhOMnSOu
Output for 5.4.1
$2a$07$4YaXbCzY0bmn8sT1l2ZpBOWoC3njDOnBGPdG6jO90w.ez65MjV5O2
Output for 5.4.0
$2a$07$T08hlILL5b1ZQfFiuO8gsekdWRSApiXQwmN2mK0ClAGJplchyibkO
Output for 5.3.29
$2a$07$IwCer0HNqdvXF6c0e998Be1AQEsZsMX3GYXNH4lGo6lKPfdx26QUm
Output for 5.3.28
$2a$07$OqiE2fyGEWHcJAACjJNunORKE/gAk5ZPKw980Iqkcp6WDyQDu1GE6
Output for 5.3.27
$2a$07$Y83nmO3BJ1auqJh5EfX64OUsocZH.HCPXP2R3v.Y4aSYKVsPggzAG
Output for 5.3.26
$2a$07$g4T9k8FL4wfGX7n8xV4n7.LPG3D1qI9E192nmGg5F/6Sd4yDinNwW
Output for 5.3.25
$2a$07$BWp2UGWb2Dly79XrRq3pE.Iii5V8K0KAlRHZha6kzSXDODkAk0F/W
Output for 5.3.24
$2a$07$KOpIj3FxKFYLdadkYzybguUJulJIfzQtSPQJ/ehnMPIM17iCCanTW
Output for 5.3.23
$2a$07$UAq40JIYFZGEu7GxeQlkJuNmIi9c4LDswSDRdicaC886q7tM0v6Iq
Output for 5.3.22
$2a$07$wf4sVqNJpBtyFaJbXhYcpe9KQqY1sXkX.e1NjJ7tw9DA2Xhh81Avq
Output for 5.3.21
$2a$07$qAgDuEGBUfWfRqQCqBSsEeomcyC4sEzhO4c9hdn0eqpQo1HD8X052
Output for 5.3.20
$2a$07$aRomaqcgnVH6xUGyrxIub.5g3Nfcvtrhq.aZWS8XLHxhrDN7jGKya
Output for 5.3.19
$2a$07$poRwPCDhRjmuVvhCnlKqnOkI2ltsyYvtG/nuC2yfpK4pw656l3YQG
Output for 5.3.18
$2a$07$AMUPhU4EE8ms7nAMwVBbouSUUu8l8oQyufsqlQir1SBK3niOMobyC
Output for 5.3.17
$2a$07$m3I57CLcrOEzb6FujScnf.D1NUj2PYzTacF0P5yl9aEIqUVAoNiQO
Output for 5.3.16
$2a$07$NYjlwxKPnakNIhppDtngfeQkqkO9spWYqGYG6xv7c5Q/WANGFdnZ6
Output for 5.3.15
$2a$07$pN31icaz1XHpYoNa0yyRIup/RSgGo.xh5NZF0xW8OYjbPu0RuukCS
Output for 5.3.14
$2a$07$6AOA4HecEr6ebmqX5HpwiuUK2y4uWWXOIs8SMPVSFaHfSHxv4.2aq
Output for 5.3.13
$2a$07$ImcDFbopruPTSxjoBeOXh.6Fh4ydlqlnZvvY8pUKXXzT7kzlFM3lS
Output for 5.3.12
$2a$07$IfER9BOxrrlaakwwOUzp8et15KFcdkzxc9HGzygKNJskVIVqtIHm6
Output for 5.3.11
$2a$07$ajAJTSYPI96eRuyOM5x01.5v4W6w2vuq49aIRyYiGlOS6IYaqt6Da
Output for 5.3.10
$2a$07$0PdyiUX5Ti8RYvMS7mClL.8uIRA/hICVGYtqpUx4xeQ18SeBVipCa
Output for 5.3.9
$2a$07$2C7Dazgfia3RQf0f95n3iOEy1SiCxisiuoRdJRc5u2F6NvxYkxWbS
Output for 5.3.8
$2a$07$H0cQgwiWP1pybrAzpsrCKuh98tabggvJh994S//nntvNM0cJlbvsG
Output for 5.3.7
$2a$07$xZdwu9aCuSZEzR1qSrxsvuLcImpjRPQFXV9Nd0Dpp65wTYW5HCkn6
Output for 5.3.6
$2a$07$RYV76KsJHjVCPBFyeJwdTOmjE0U5J4GADbvIuMNHApebB/XS1JknO
Output for 5.3.5
$2a$07$JT3vn3xwwSmNnOohAtujUueBM.DRmsEBn/QC7riakKlcYltvk4wrq
Output for 5.3.4
$2a$07$CnXFCa4bCJKL9XPi0Afzz.EhddIVAJ7W2O/ov5pBfns3b.DqUa6Wy
Output for 5.3.3
$2a$07$fbAQhpEpKZkinx9syWOhju8BZHaBNpS9mULehOG/7TLxsi/X8J7Cy
Output for 5.3.2
$2a$07$3ZvMkHXd5dEe2O6xBX8cked9k78AB/33IlULFCtILLfBRk03/Z6Fy
Output for 5.3.1
$2a$07$qMSqZnVloXIipk3rqy4pcuvSn8VcNi6g2f9neHrpvtMUw/NZ4bApW
Output for 5.3.0
$2a$07$TE14uwKoVaEw7eZ246CKOexWfdqOd39znSK92aZJ6UCoTnOjowgJO
Output for 4.3.0 - 5.2.17

Process exited with code 139.