Tool to decrypt / encrypt using Base 36 (Alphanumeric) Cipher, ideal base for encoding any alphanumeric string by a number (and vice versa) with the usual 36 characters (26 letters and 10 digits).

Base 36 Cipher - dCode

Tag(s) : Mathematics, Cryptography

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*!

**Base 36** encryption uses the principle of arithmetic base change (conversion from **base 36** to base 10). Thus, the words are considered to be numbers written in **base 36** (with 36 alphanumeric symbols made of the 26 letters of the alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ and the 10 digits 0123456789) then converted into a decimal number (in base 10).

__Example:__ To code the 3 characters B36 in **base 36** using the symbols 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ, first convert each character to base 10: B=11, 3=3, 6=6 and apply the base change formula: $ 11 \times 36^2 + 3 \times 36^1 + 6 \times 36^0 = 14370 $

It is possible to use 2 sets of symbols for **base 36** : either digits then letters

Alphabet#1 | 0 | 1 | 2 | 3 | ... | 7 | 8 | 9 | A | B | C | D | ... | X | Y | Z |

Rangs | 0 | 1 | 2 | 3 | ... | 7 | 8 | 9 | 10 | 11 | 12 | 13 | ... | 33 | 34 | 35 |

Or letters then digits

Alphabet#2 | A | B | C | D | ... | X | Y | Z | 0 | 1 | 2 | 3 | ... | 7 | 8 | 9 |

Rangs | 0 | 1 | 2 | 3 | ... | 23 | 24 | 25 | 26 | 27 | 28 | 29 | ... | 33 | 34 | 35 |

The decryption of the **base 36** consists of the conversion of *coded* numbers from the base 10 to the **base 36**.

__Example:__ Decode the message 527198. $ 527198 = 11 \times 36^3 + 10 \times 36^2 + 28 \times 36^1 + 14 \times 36^0 $ so [11,10,28,14] in **base 36** and 11=B, 10=A, 28=S, 14=E. The plain message is BASE.

The coded message consists of decimal numbers whose length is proportional to the length of the word.

The same word is coded with the same number, so the numbers corresponding to the common words appear coded several times.

Round values in decimal:

Base10 | Base36 |
---|---|

100 | 2S |

1000 | RS |

10000 | 7PS |

100000 | 255S |

1000000 | LFLS |

1000000000 | GJDGXS |

Round values in **base36** :

Base36 | Base10 |
---|---|

10 | 36 |

100 | 1296 |

1000 | 46656 |

10000 | 679616 |

100000 | 60466176 |

1000000 | 176782336 |

dCode retains ownership of the online 'Base 36 Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Base 36 Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Base 36 Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Base 36 Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

base,36,alphanumeric,alphabet,letter,digit

Source : https://www.dcode.fr/base-36-cipher

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'Base 36 Cipher' tool, so feel free to write! Thank you!