this is just an example of how my encoding method can be used. what it does is check if your username is stored in the cloud. If it is, then it says: "welcome back" and if not then it adds your username to the cloud and says: "new user". So feel free to take a look inside and comment what you think, Thanks.
PLEASE READ THIS BEFORE USING: note on how my encoding/decoding works: the numbers that are generated upon encoding are actually following a certain syntax that I made for 2 reasons: 1: identify corrupted data 2: compact the data as much as possible Syntax: first digit: number of digits to represent each character(usually 2) second digit: how many of the following digits are used to identify the total number of characters when decoded(usually two) 3rd through (3+second digit): identifies how many digits represent each character next digit: gives the length of the sum check(sum of the numbers representing each character) which is added to the end of the data remaining digits: the actual encoded characters example: if my username('Blairisa') were to be encoded, it would be '21833822111928192911177'. the first digit(2 in this example) tells you that each letter is represented by by a 2 digit number. The second digit(1 in this example) tells you that the following single digit(if it was 2 then it would be the next 2 digits, same pattern for 1-9) is reserved for the length of the string when it is decoded. The following 1 digit(s)(8 in this example) tell you that the decoded string is 8 characters. the next digit(3 in this case) tells you the number at the end (which is the sum of all characters) which in this example is 177. If this syntax isn't followed, then it is possible that you will get an error. If you plan on using it in one of your projects, all you need is the 'encode/decode' sprite and please make sure to give credit where credit is due, not just with this, but with anything that you make that uses someone else's work.