# -------------------------------- # ========== ENCRYPTION ========== # -------------------------------- inp = list(b'a' * 0x40) v27_arr = [5, 201, 232, 459, 426, 175, 412, 261, 175, 199, 274, 117, 187, 228, 382, 291, 68, 321, 140, 217, 375, 338, 269, 57, 185, 409, 285, 196, 306, 182, 328, 250, 448, 284, 181, 346, 247, 306, 66, 225, 259, 126, 205, 218, 282, 102, 328, 324, 94, 229, 288, 67, 238, 332, 197, 404, 379, 167, 216, 454, 441, 420, 189, 227, 247, 500, 260, 39, 291, 245, 253, 398, 368, 130, 352, 146, 240, 321, 298, 276, 250, 267, 230, 458, 271, 29, 159, 405, 301, 295, 204, 422, 341, 143, 169, 208, 430, 305, 163, 289, 54, 222, 298, 45, 106, 222, 283, 125, 205, 346, 162, 173, 399, 348, 333, 165, 228, 327, 310, 212, 283, 226, 475, 450, 341, 183, 306, 286, 139, 154, 172, 417, 304, 234, 384, 340, 197, 361, 296, 149, 224, 416, 305, 275, 103, 343, 137, 338, 289, 142, 322, 217, 412, 380, 139, 243, 438, 320, 118, 248, 440, 429, 245, 359, 338, 170, 388, 176, 224, 250, 338, 135, 153, 398, 364, 278, 66, 185, 393, 144, 391, 288, 227, 325, 261, 124, 230, 300, 228, 253, 300, 53, 251, 329, 304, 233, 400, 257, 239, 263, 35, 231, 459, 431, 340, 164, 196, 410, 193, 193, 320, 270, 172, 245, 477, 306, 99, 250, 263, 256, 244, 476, 336, 90, 138, 297, 240, 435, 363, 242, 348, 288, 63, 248, 434, 359, 237, 371, 286, 268, 211, 217, 352, 200, 444, 261, 165, 185, 370, 362, 257, 199, 332, 101, 289, 69] first_index = [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 25, 25, 25, 25, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 28, 28, 29, 29, 29, 29, 30, 30, 30, 30, 31, 31, 31, 31, 32, 32, 32, 32, 33, 33, 33, 33, 34, 34, 34, 34, 35, 35, 35, 35, 36, 36, 36, 36, 37, 37, 37, 37, 38, 38, 38, 38, 39, 39, 39, 39, 40, 40, 40, 40, 41, 41, 41, 41, 42, 42, 42, 42, 43, 43, 43, 43, 44, 44, 44, 44, 45, 45, 45, 45, 46, 46, 46, 46, 47, 47, 47, 47, 48, 48, 48, 48, 49, 49, 49, 49, 50, 50, 50, 50, 51, 51, 51, 51, 52, 52, 52, 52, 53, 53, 53, 53, 54, 54, 54, 54, 55, 55, 55, 55, 56, 56, 56, 56, 57, 57, 57, 57, 58, 58, 58, 58, 59, 59, 59, 59, 60, 60, 60, 60, 61, 61, 61, 61, 62, 62, 62, 62, 63, 63, 63, 63] second_index = [1, 50, 58, 50, 42, 43, 39, 1, 43, 49, 4, 29, 46, 57, 31, 8, 17, 16, 35, 54, 29, 20, 3, 14, 46, 38, 7, 49, 12, 45, 18, 62, 48, 7, 45, 22, 61, 12, 16, 56, 0, 31, 51, 54, 6, 25, 18, 17, 23, 57, 8, 16, 59, 19, 49, 37, 30, 41, 54, 49, 46, 41, 47, 56, 61, 61, 1, 9, 8, 61, 63, 35, 28, 32, 24, 36, 60, 16, 10, 5, 62, 2, 57, 50, 3, 7, 39, 37, 11, 9, 51, 41, 21, 35, 42, 52, 43, 12, 40, 8, 13, 55, 10, 11, 26, 55, 6, 31, 51, 22, 40, 43, 35, 23, 19, 41, 57, 17, 13, 53, 6, 56, 54, 48, 21, 45, 12, 7, 34, 38, 43, 40, 12, 58, 32, 21, 49, 26, 10, 37, 56, 40, 12, 4, 25, 21, 34, 20, 8, 35, 16, 54, 39, 31, 34, 60, 45, 16, 29, 62, 46, 43, 61, 25, 20, 42, 33, 44, 56, 62, 20, 33, 38, 35, 27, 5, 16, 46, 34, 36, 33, 8, 56, 17, 1, 31, 57, 11, 57, 63, 11, 13, 62, 18, 12, 58, 36, 0, 59, 1, 8, 57, 50, 43, 21, 41, 49, 38, 48, 48, 16, 3, 43, 61, 55, 12, 24, 62, 1, 0, 61, 55, 20, 22, 34, 10, 60, 44, 26, 60, 23, 8, 15, 62, 44, 25, 59, 28, 7, 3, 52, 54, 24, 50, 47, 1, 41, 46, 28, 26, 0, 49, 19, 25, 8, 17] for indexing in range(256): v34 = 0 if ((indexing ^ v27_arr[indexing]) & 0xff > 3): v34 = inp[first_index[indexing]] ^ inp[second_index[indexing]] else: v34 = inp[first_index[indexing]] inp[first_index[indexing]] = indexing ^ v34 inp[second_index[indexing]] ^= v27_arr[indexing] table = list(b'\xf9\x97\x1e"\x10I\xd5\r\x05d\xae\x11\xee\xbb\xceE\xcaZ\x04\xe2\xea\xcc\xaaz\x17D@G\\\x0e\xab\x89\xc4\xbcx\x1cWn\x0c\xfa\xbf\x9fL\xc5/\x03\x92!\xe7\x91U8\x8c\t\xef\xa9\x13\xad}\xc2\x80\xa3\xd7\x1f\x7fQ,9\x9c$BcJN\xa6\x90\x85\xf1%St\x81X\x1d\xa5\x93v\xf0\xbd#\nlj\x8bC*\x87\xf2\x1b1\xb6\x19\xe9\xb5o\xa4\xf8\xb8\xde>\x94\x01:7\xb9\x86)\xc16[=\xa2