This is an error 404
There are `0` results
preferences:
157.31 ms | 1399 KiB | 7 Q<?php
/*
string encryptDecrypt(string toEncrypt) {
char key[3] = {'K', 'C', 'Q'}; //Any chars will work
string output = toEncrypt;
for (int i = 0; i < toEncrypt.size(); i++)
output[i] = toEncrypt[i] ^ key[i % (sizeof(key) / sizeof(char))];
return output;
}
function XoR($string)
{
$Key = ('K', 'C', 'Q');
$Text = "kylewbanks.com";
for($i=0;$i<strlen($Text);)
{
}
}
*/
function xor_this($text) {
$key = pack('K', 'C', 'Q');
$i = 0;
$encrypted = '';
foreach (str_split($text) as $char) {
$encrypted .= chr(ord($char) ^ ord($key{$i++ % strlen($key)}));
}
return $encrypted;
}
$text = 'kylewbanks.com';
print xor_this($text);
?>