Numerical Code

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

65 = 1, 06 = -6 + 10 = 4, 10 = 1, 61 = 5, 86 = 2, 88 = 0, 88 = 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

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s