".$new["id"]); // require_once ('assets/main/hash.php'); // function encrypt_string($input) // { // $inputlen = strlen($input);// Counts number characters in string $input // $randkey = rand(1, 9); // Gets a random number between 1 and 9 // $i = 0; // while ($i < $inputlen) // { // $inputchr[$i] = (ord($input[$i]) - $randkey);//encrpytion // $i++; // For the loop to function // } // //Puts the $inputchr array togtheir in a string with the $randkey add to the end of the string // $encrypted = implode('.', $inputchr) . '.' . (ord($randkey)+50); // return $encrypted; // } // $token = array(); // $token["id"] = 23123; // $token["name"] = "asdad"; // $token["asdasd"] = "23123123"; // $toke["zczxc"] = "adadasdas"; // $input = serialize($token);// encryption.php?input=data-I-want-to encrpyt // $encrypted = encrypt_string($input); // echo "Encrypted: $encrypted"; ?>