Search for a tool
Base 26 Cipher

Tool to decrypt/encrypt in Base 26. Base 26 uses 26 symbols, by using the alphabet's letter, Base 26 cipher can encrypt words with numbers and conversely.

Results

Base 26 Cipher -

Tag(s) : Cryptography, Arithmetics

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Base 26 Cipher' tool for free! Thank you!

Base 26 Cipher

Base 26 Decoder/Converter

 

Parameters





⚠ Do not confuse with A1Z26 cipher

Base 26 Encoder

 

Parameters





See also: Base 36 Cipher

Answers to Questions (FAQ)

What is Base 26 cipher? (Definition)

Base 26 (hexavigesimal) is the arithmetic base using 26 digits/symbols/characters to write numbers. This base can be used with the 26 letters of the alphabet as digits, which makes it possible to numerically encode any word (in both directions: numbers to letters or letters to numbers).

How to encrypt using Base 26 cipher?

The encoding with base 26 uses an arithmetic base change from base 26 to base 10. The words are considered as written in base 26 (with 26 symbols: the 26 letters of the alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ) and converted to base 10.

The lookup table is:

0 A1B2C3D4E5F6G7H8I
9J10K11L12M13N14O15P16Q17R
18S19T20U21V22W23X24Y25Z

Example: To code DCODE, written in base 26, convert it to base 10: D=3, C=2, O=14, D=3, E=4 so $ 3 \times 26^4 + 2 \times 26^3 + 14 \times 26^2 + 3 \times 26^1 + 4 \times 26^0 = 1415626 $

This method is the most rigorous mathematically, but can raise problems for encrypting words starting with A (which corresponds to the 0 symbol in base 10) and is thus generally ignored at the beginning of the number (001 = 1). It is sometimes considered to use 'A = 1' for some applications in cryptography.

How to decrypt Base 26 cipher?

Hexavigesimal (base26) decryption consists of the conversion from the base 10 to the base 26 (using the words as hexavigesimal numbers with the 26 letters of the alphabet as base symbols).

Example: $ 1415626 = 3 \times 26^4 + 2 \times 26^3 + 14 \times 26^2 + 3 \times 26^1 + 4 \times 26^0 $ so [3,2,14,3,4] in base 26 and 3=D, 2=C, 14=O, 3=D, 4=E. The plain message is DCODE.

How to recognize a Base 26 ciphertext?

The ciphered message is made of numbers, relatively big (for long words)

Usual words can appear multiple times with the same value in a long text.

The calculation of the modulo 26 values of each word makes it possible to find the value of the last letter, which should be E or S (the most common final letters)

What is the reverse order letters option?

Rather than converting normally, the reverse order of letters can be considered (or the word reversed):

Example: DCODE = $ 3 \times 26^0 + 2 \times 26^1 + 14 \times 26^2 + 3 \times 26^3 + 4 \times 26^4 = 1890151 $ (this is equivalent to coding EDOCD).

How to deal with messages starting with 'A'?

as A is encoded 0 in base 26, when encoding it is null and disappear when decoding.

Example: AB = 0*26^1+1*26^0 = 1 and 1 = B

Add a zero at the beginning of a number to indicate a A at the beginning of a word.

Source code

dCode retains ownership of the "Base 26 Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Base 26 Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Base 26 Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Base 26 Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "Base 26 Cipher" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Base 26 Cipher on dCode.fr [online website], retrieved on 2024-11-21, https://www.dcode.fr/base-26-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Base 26 Cipher' tool for free! Thank you!


https://www.dcode.fr/base-26-cipher
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback