Tool to substitution with alphabetical rank with addition. This variant of the alphabetical rank cipher (A=1, B=2, C=3 etc.) adds up the rank value from the current letter to the previous value.

Alphabetical Ranks Added - dCode

Tag(s) : Cryptography,Substitution Cipher

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

This page is using the new English version of dCode, *please make comments* !

Sponsored ads

Tool to substitution with alphabetical rank with addition. This variant of the alphabetical rank cipher (A=1, B=2, C=3 etc.) adds up the rank value from the current letter to the previous value.

Encryption consists of adding each number (which represents the position of a letter of the alphabet) to the number preceding it.

ABC (1,2,3) is coded 1,(2+1),(3+(2+1)=6) so 1,3,6

DCODE (4,3,15,4,5) becomes 4,(3+4=7),(15+7=22),(4+22=26),(5+26=31) so 4,7,22,26,31

Decryption implies to subtract each number to the one that precedes to obtain new numbers that correspond to a substitution by classical alphabetical ranking.

Consider the message 4,7,22,26,31

Subtract each value to one before (except for the first value).

4,7-4,22-7,26-22,31-26 gives 4,3,15,4,5

A substitution is carried out according to the rank in the alphabet.

4 = D, 3 = C, etc. The clear message is DCODE.

If the result of the subtraction is less than zero or greater than the number of letters in the alphabet, then it is possible to perform a modulo operation.

The message is composed of numbers which should mainly be increasing. (Each number must be larger than the previous one). Moreover, the difference between two numbers should ideally be between 1 and 26 (where 26 is the number of letters in the alphabet)

dCode retains ownership of the source code of the script Alphabetical Ranks Added. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Alphabetical Ranks Added script for offline use, for you, your company or association, see you on contact page !

add,sum,rank,position,number,alphabet,26,value,substitution,alphanumeric

Source : http://www.dcode.fr/alphabetical-ranks-added

© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode