@ 2013-12-23T08:55:03Z <?php
class HashCracker
{
private $range;
private $length = 32;
private $cycles = 1000;
public function __construct()
{
$this->range = range('0', 'z');
}
public function runBenchmark()
{
die(var_dump($this->range));
}
}
$password = 'hello';
$hashed = md5($password);
var_dump('Hash to match: ' . $hashed);
(new HashCracker())->runBenchmark();
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.3.0 - 8.3.6 string(47) "Hash to match: 5d41402abc4b2a76b9719d911017c592"
array(75) {
[0]=>
string(1) "0"
[1]=>
string(1) "1"
[2]=>
string(1) "2"
[3]=>
string(1) "3"
[4]=>
string(1) "4"
[5]=>
string(1) "5"
[6]=>
string(1) "6"
[7]=>
string(1) "7"
[8]=>
string(1) "8"
[9]=>
string(1) "9"
[10]=>
string(1) ":"
[11]=>
string(1) ";"
[12]=>
string(1) "<"
[13]=>
string(1) "="
[14]=>
string(1) ">"
[15]=>
string(1) "?"
[16]=>
string(1) "@"
[17]=>
string(1) "A"
[18]=>
string(1) "B"
[19]=>
string(1) "C"
[20]=>
string(1) "D"
[21]=>
string(1) "E"
[22]=>
string(1) "F"
[23]=>
string(1) "G"
[24]=>
string(1) "H"
[25]=>
string(1) "I"
[26]=>
string(1) "J"
[27]=>
string(1) "K"
[28]=>
string(1) "L"
[29]=>
string(1) "M"
[30]=>
string(1) "N"
[31]=>
string(1) "O"
[32]=>
string(1) "P"
[33]=>
string(1) "Q"
[34]=>
string(1) "R"
[35]=>
string(1) "S"
[36]=>
string(1) "T"
[37]=>
string(1) "U"
[38]=>
string(1) "V"
[39]=>
string(1) "W"
[40]=>
string(1) "X"
[41]=>
string(1) "Y"
[42]=>
string(1) "Z"
[43]=>
string(1) "["
[44]=>
string(1) "\"
[45]=>
string(1) "]"
[46]=>
string(1) "^"
[47]=>
string(1) "_"
[48]=>
string(1) "`"
[49]=>
string(1) "a"
[50]=>
string(1) "b"
[51]=>
string(1) "c"
[52]=>
string(1) "d"
[53]=>
string(1) "e"
[54]=>
string(1) "f"
[55]=>
string(1) "g"
[56]=>
string(1) "h"
[57]=>
string(1) "i"
[58]=>
string(1) "j"
[59]=>
string(1) "k"
[60]=>
string(1) "l"
[61]=>
string(1) "m"
[62]=>
string(1) "n"
[63]=>
string(1) "o"
[64]=>
string(1) "p"
[65]=>
string(1) "q"
[66]=>
string(1) "r"
[67]=>
string(1) "s"
[68]=>
string(1) "t"
[69]=>
string(1) "u"
[70]=>
string(1) "v"
[71]=>
string(1) "w"
[72]=>
string(1) "x"
[73]=>
string(1) "y"
[74]=>
string(1) "z"
}
Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.28 , 7.0.0 - 7.0.20 , 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.12 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 string(47) "Hash to match: 5d41402abc4b2a76b9719d911017c592"
array(1) {
[0]=>
int(0)
}
Output for 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/i53kW on line 27
Process exited with code 255 . Output for 5.0.0 - 5.0.5 Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/i53kW on line 27
Process exited with code 255 . Output for 4.4.2 - 4.4.9 Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/i53kW on line 5
Process exited with code 255 . Output for 4.3.0 - 4.3.1 , 4.3.5 - 4.3.11 , 4.4.0 - 4.4.1 Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/i53kW on line 5
Process exited with code 255 . Output for 4.3.2 - 4.3.4 Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/i53kW on line 5
Process exited with code 255 . preferences:dark mode live preview
264.3 ms | 401 KiB | 357 Q