fork download
  1. <?php
  2.  
  3. define('A9029', array(
  4. 'A' => 3,
  5. '9029' => 'Erw#E|#CQrlow|'
  6. ));
  7.  
  8. function openKey($text, $current)
  9. {
  10. $sResult = '';
  11.  
  12. for($i=0; $i < strlen($text); $i++) {
  13. $symbol = ord($text[$i]) - $current;
  14.  
  15. if($symbol < $current) {
  16. $symbol = 255 - $current;
  17. }
  18. $sResult .= chr($symbol);
  19. }
  20.  
  21. return $sResult;
  22. }
  23.  
  24.  
  25. print_r(openKey(A9029['9029'], A9029['A']));
Success #stdin #stdout 0.02s 24316KB
stdin
Standard input is empty
stdout
Bot By @Noilty