Starting with a set of text you want to encode then convert it to numerical code.

Note

14152005

Encoding it starts with the last digit of the current number. Then each digit is the sum of the previous digit from the current number and the encoded number. If the number is greater than 10 then just use the ones place.

Current Number: 14152005

5, **5** + 1 = **6** + 4 = *10* -> **0** + 1 = **1** + 5 = **6** + 2 = **8** + 0 = **8** + 0 = **8**

Encoded: **56016888**

To decode subtract the current digit from the encoded number from the next digit of the encoded number.

Encoded: **56016888**

**6** – **5** = 1, **0** – **6** = *-6 + 10* = 4, **1** – **0** = 1, **6** – **1** = 5, **8** – **6** = 2, **8** – **8** = 0, **8** – **8** = 0, **5** -> 5

14152005

You can encode multiple times and it may be best to use a number at the beginning to signify how many time it is encoded. For example:

04 – 0163184086291087032477016625738802