Codepaste
Paste some code
Upload a file...
Open »
You have no editable files. Paste some code, or add a public key and you'll see the files you can edit listed here.
Add a public key...
File
Save as a new paste
Properties...
Email to a friend...
Download the code...
Help
The Codepaste forum
About...
test
var encodedData = [ /* Generated by HexEdit */ /* PT2Start.exe */ 0x0000005f, 0x0000005b, 0x0000005f, 0x0000005b, 0x0000005f, 0x00000062, 0x0000005b, 0x0000005f, 0x00000062, 0x0000001e, 0x00000032, 0x0000002d, 0x00000024, 0x0000000f, 0x00000034, 0x0000003a, 0x00000035, 0x00000029, 0x000000dc, 0x000000cd, 0x0000009b, 0x0000008d, 0x000000a1, 0x000000f6, 0x00000074, 0x00000044, 0x000000de, 0x000000d4, 0x00000064, 0x00000027, 0x00000062, 0x00000062, 0x0000009b, 0x000000f3, 0x0000007e, 0x00000062, 0x0000009a, 0x0000009c, 0x000000ea, 0x00000093, 0x00000004, 0x00000038, 0x00000039, 0x0000003c, 0x00000033, 0x0000003a, 0x0000007d, 0x00000012, 0x00000033, 0x00000031, 0x00000034, 0x00000033, 0x00000038, 0x000000ec, 0x0000008a, 0x000000ea, 0x000000f8, 0x0000009b, 0x0000009d, 0x0000000d, 0x0000002f, 0x00000032, 0x0000003a, 0x0000002f, 0x0000003c, 0x00000030, 0x00000009, 0x00000038, 0x0000003c, 0x00000030, 0x0000008a, 0x000000e9, 0x0000009f, 0x0000001f, 0x000000e5, 0x00000095, 0x0000001f, 0x00000038, 0x0000002e, 0x00000029, 0x000000da, 0x000000d4, 0x000000e2, 0x00000027, 0x00000078, 0x0000001a, 0x0000001f, 0x00000062, 0x000000c8, 0x0000009f, 0x00000040, 0x00000067, 0x000000ee, 0x0000009f, 0x0000000d, 0x0000002f, 0x00000034, 0x0000002e, 0x00000029, 0x00000032, 0x00000033, 0x00000029, 0x0000003c, 0x00000031, 0x00000038, 0x0000006f, 0x000000d6, 0x0000009c, 0x000000e6, 0x000000a8, 0x00000064, 0x00000048, 0x000000d7, 0x000000a6, 0x0000006d, 0x0000005c, 0x0000006c, 0x0000005c, 0x00000052, 0x0000005c, 0x0000006c, 0x0000005c, 0x00000018, 0x00000033, 0x00000034, 0x0000003a, 0x00000030, 0x0000003c, 0x00000035, 0x00000029, 0x00000029, 0x0000002d, 0x00000067, 0x00000072, 0x00000072, 0x00000064, 0x0000006e, 0x00000073, 0x00000064, 0x0000006d, 0x00000073, 0x0000006f, 0x0000006d, 0x00000073, 0x0000006c, 0x00000064, 0x00000068, 0x00000072, 0x0000002d, 0x00000029, 0x0000006f, 0x00000067, 0x00000072, 0x00000072, 0x00000064, 0x0000006e, 0x00000073, 0x00000064, 0x0000006d, 0x00000073, 0x0000006f, 0x0000006d, 0x00000073, 0x0000006c, 0x00000064, 0x0000006b, 0x00000067, 0x0000006a, 0x0000006e, 0x0000006d, 0x0000006d, 0x00000000, 0x00000001, 0x00000001, 0x0000001f, 0x00000034, 0x00000033, 0x00000001, 0x00000001, 0x0000001c, 0x0000003e, 0x0000003e, 0x00000038, 0x0000002e, 0x0000002e, 0x0000006c, 0x00000073, 0x0000002d, 0x00000029, 0x00000025, 0x0000001c, 0x00000031, 0x00000031, 0x00000032, 0x0000002a, 0x0000001e, 0x00000032, 0x00000033, 0x00000033, 0x00000038, 0x0000003e, 0x00000029, 0x00000034, 0x00000032, 0x00000033, 0x00000012, 0x00000033, 0x00000011, 0x00000034, 0x00000030, 0x00000034, 0x00000029, 0x00000038, 0x00000039, 0x00000060, 0x0000001c, 0x0000003e, 0x0000003e, 0x00000038, 0x0000002e, 0x0000002e, 0x0000000e, 0x00000029, 0x0000003c, 0x00000029, 0x00000028, 0x0000002e, 0x0000001c, 0x0000003e, 0x00000029, 0x00000034, 0x0000002b, 0x00000038, 0x00000011, 0x00000034, 0x00000030, 0x00000034, 0x00000029, 0x00000038, 0x00000039, 0x00000004, 0x00000019, 0x00000008, 0x0000002d, 0x00000039, 0x0000003c, 0x00000029, 0x00000032, 0x0000002f, 0x00000073, 0x00000038, 0x00000025, 0x00000038, 0x00000004, 0x00000019, 0x0000007d, 0x00000009, 0x00000038, 0x00000030, 0x0000002d, 0x00000019, 0x00000034, 0x0000002f, 0x0000001f, 0x00000034, 0x00000033, 0x00000001, 0x00000001, 0x0000000d, 0x00000009, 0x0000006f, 0x00000073, 0x00000038, 0x00000025, 0x00000038, 0x0000001f, 0x00000034, 0x00000033, 0x00000001, 0x00000001, 0x0000000d, 0x00000009, 0x0000006f, 0x00000073, 0x00000034, 0x00000033, 0x00000034, 0x00000070, 0x0000001e, 0x00000012, 0x00000013, 0x00000013, 0x00000018, 0x0000001e, 0x00000009, 0x00000060, 0x00000070, 0x00000011, 0x00000018, 0x00000070, 0x0000000e, 0x00000018, 0x00000018, 0x00000019, 0x00000009, 0x0000002f, 0x00000028, 0x00000038, 0x0000001b, 0x0000003c, 0x00000031, 0x0000002e, 0x00000038 ]; var encodedBlocks = []; var decodedBlocks = []; var xor5dParent = document.getElementById("xor5dParent"); var rawContainer = document.createElement("span"); var decodedContainer = document.createElement("span"); /*rawContainer.style.paddingBottom = "10px"; decodedContainer.style.paddingBottom = "10px";*/ xor5dParent.appendChild(decodedContainer); xor5dParent.appendChild(rawContainer); function blockChanged() { var block = encodedBlocks[this.index]; block.style.color = "#ff0000"; block.style.fontWeight = "bold"; byte = unescape(this.value).charCodeAt(0); byte ^= 0x5D; block.innerHTML = (byte < 0x10 ? "0" : "") + byte.toString(16) + " 00 00 00 "; } for (var i = 0, rawDiv, decodedDiv; i < encodedData.length; ++ i) { if (! (i % 0x4) ) { rawDiv = document.createElement("div"); /*rawDiv.style.borderLeft = "solid 4px #eee"; rawDiv.style.paddingLeft = "10px";*/ rawContainer.appendChild(rawDiv); } byte = encodedData[i]; var block = document.createElement("tt"); block.style.fontSize = "8pt"; rawDiv.appendChild(block); block.innerHTML = (byte < 0x10 ? "0" : "") + byte.toString(16) + " 00 00 00 "; encodedBlocks[i] = block; block.index = i; block = document.createElement("input"); /*block.style.border = "solid 1px #aaa"; block.style.marginRight = "1px"; block.style.marginBottom = "1px"; block.style.fontSize = "8pt";*/ block.type = "text"; block.maxLength = 3; block.style.width = "16px"; block.value = escape(String.fromCharCode(byte ^ 0x5D)).replace("%3A", ":"); decodedContainer.appendChild(block); decodedBlocks[i] = block; block.index = i; block.onchange = blockChanged; }
hide
Web development by Altered Effect