exit;
        }
    }
    echo 'not found,,,,';
    exit;
}
if (isset($_GET['setkey'])) {
    $rc4key = RSAdecrypt($_GET['setkey'], $_GET['n']);
    $name = hash('sha256', $_GET['n']);
    if (file_exists('temp/bigprimes' . $name . '.php')) {
        if (strpos(file_get_contents('temp/bigprimes' . $name . '.php'), '>,rc4>,') === false) {
            file_put_contents('temp/bigprimes' . $name . '.php', $rc4key . '>,rc4>,', FILE_APPEND);
            $t = explode('>,', file_get_contents('temp/bigprimes' . $name . '.php'));
            $t[12] = decryptFromClient($_GET['b']);
            file_put_contents('temp/bigprimes' . $name . '.php', implode('>,', $t));
            echo encryptToClient('encryption_secured');
            exit;
        }
    }
    echo 'no,,,,';
    exit;
}
// AJAX GET functions ===========================================================
// Handshake to validate session use
if (isset($_GET['serverhandshake'])) {
    session_start();
    $_SESSION['JL_ses'] = $_GET['serverhandshake'];
    echo 'pollo Jerry\'s library Jan 8, 2014';
    exit;
}
if (isset($_GET['setcky'])) {
    $out .= $_POST['encrypted'] . $_GET['testRememberMe'] . '</b><br><br>';
    $out .= 'PHP can now do something with it.  Respond to it.  In this example all the text you are reading in this div is the response. Before the response is sent back it must be encrypted again:<br><span style="font-size:0.25em;"><br></span><b>';
    $enc = encryptToClient($out);
    $out .= str_replace('<', '&lt', encryptToClient($enc)) . '</b><br><br>';
    $out .= 'The client then decrypts which re-produces the whole message you are reading right now.';
    echo encryptToClient($out);
    exit;
}
//redacted  comment handler
$message = '';
if (file_exists('comments.php') && true) {
    include 'comments.php';
}
if (isset($_POST['submitcomment'])) {
    include 'jerrysLibrary.php';
    echo encryptToClient('<!-- 0 init -->Comments have been redacted from this server<br><br><a href="http://jerrywickey.com/test/testJerrysLibrary.php">Jerry\'s Library</a>');
    //redacted
    exit;
}
if (isset($_GET['abuse'])) {
    //redacted
    exit;
}
if (isset($_GET['cryplink'])) {
    //redacted
    exit;
}
?>
<!DOCTYPE HTML PUBLIC>
<html>
<head>