function decrypt($string) { $decoded = base64_decode($string); $broken = str_split($decoded, 21); $string_to_decrypt = $broken[1]; $decrypt = $string_to_decrypt[9]; $crypt = ''; switch ($decrypt) { case "1": $crypt = decrypt1($string_to_decrypt); break; case "2": $crypt = decrypt2($string_to_decrypt); break; case "3": $crypt = decrypt3($string_to_decrypt); break; case "4": $crypt = decrypt4($string_to_decrypt); break; case "5": $crypt = decrypt5($string_to_decrypt); break; } return $crypt; }
function transform_string1($array, $array2) { $temp = decrypt_string1($array); $array3 = str_split($temp, 3); $str = decrypt1($array3, $array2); return $str; }