This was made to encrypt data from the filesystem and turn it into an encoded string for people to copy/paste, but now it's a number-string exchange tool XD How to use: To encrypt: 1. Use the setup MyBlock. (Not necessary. Just make the setup run on green flag.) 2. Add the data into System.DataToEncrypt. 3. Just use the encrypt MyBlock and get the output from _EncryptedData. To decrypt: 1. Use the setup MyBlock. (Not necessary. Just make the setup run on green flag.) 2. Use the decrypt MyBlock with the save code for the input. You can get the output from System.DecryptedData. For the encryption algorithm, I'm using the same method I used in the last OSWars for BlueOS, except I made some changes and fixed a lot of problems. Using alt-shift-V (◊) to indicate separate items in the list.
Improvements, suggestions, and bug reports are welcome :) Here's how the encryption works (if anyone is interested which I doubt anyone is): First, the program converts the string into a string of numbers, with each character being converted into a 2-digit equivalent of it's index in the ALLCHARS list. Next, it shifts the number by one digit to its right by turning it into (1) join (Data) join (1). Finally, it turns the new number back into text. It's surprising how much difference one digit can make :P