WessB wrote:Your algorithm will first create a random int between 0 and 1000. This value XOR total length of input, and this is placed as the frist number of the resulting string.
Then, it will take the first character from the input, takes the ascii-value of this character, XOR the total length of input-string, XOR 72, and resulting value XOR the random value.
To decode, simply XOR the first number with the number of numbers -1 to get the random value, and use that to reverse the encryption.
Users browsing this forum: No registered users and 0 guests