fork(43) download
  1. <?php
  2.  
  3. $mustget = 'Kw4SCQ==';
  4.  
  5. $key = 'frtkj';
  6. $key_length = strlen($key);
  7.  
  8. $encoded_data = base64_decode($mustget);
  9.  
  10. $result = '';
  11.  
  12. $length = strlen($encoded_data);
  13. for ($i = 0; $i < $length; $i++) {
  14. $tmp = $encoded_data[$i];
  15.  
  16. for ($j = 0; $j < $key_length; $j++) {
  17. $tmp = chr(ord($tmp) ^ ord($key[$j]));
  18. }
  19.  
  20. $result .= $tmp;
  21. }
  22.  
  23. echo $result;
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
Josh