optimization - Optimize SHA256 checking in php -
i have sha256 hash text, , know original text string , consist of 0-9 numbers , letters a-z, a-z in range (000000-zzzzzz) . this code checks possible options, , returns original text code working long time (for example if string length 5 works 30 minutes, case if length 6 works 30*62 minutes ) , think not best solution case. please optimize it. $count=0; $start_date =microtime(true); $s=array(0,1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","a","b","c","d","e","f","g","h","i","j","k","l","m","n",...