Search for a tool
Base 37 Cipher

Tool to decrypt / encrypt using Base 37 (Alphanumeric + Separator) Cipher, an ideal base to encode alphanumeric strings with a number (and vice versa) with the mot common 37 characters (26 letters, 10 digits and 1 separator).

Results

Base 37 Cipher -

Tag(s) : Mathematics, Cryptography

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 37 Cipher' tool for free! Thank you!

Base 37 Cipher

Base 37 Decoder

 








Base 37 Encoder

 







Answers to Questions (FAQ)

What is Base 37 cipher? (Definition)

Base 37 is an arithmetic base made up of 37 symbols. It is used in practice to store text with the 36 alphanumeric characters (26 letters of the alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ and 10 digits 0123456789) accompanied by an additional character, a separator such as space or underscore _ (low dash).

Any whole number (in base 10, decimal) has a base 37 conversion (therefore a writing with the 37 characters above), and conversely any word or sentence (using these 37 symbols) has a base 10 conversion.

How to encrypt using Base 37 cipher

Base 37 encryption is based on arithmetic base change calculations (the conversion from base 37 to base 10).

Example: To code the 3 characters B37 in base 37 using the 37 symbols 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_, start by converting each character to base 10 according to their value/rank: B=11, 3=3, '7= 7' and apply the base change: $ 11 \times 37^2 + 3 \times 37^1 + 7 \times 37^0 = 15177 $

Several sets of 37 symbols are possible for the base 37, they differ according to the order of the elements (digits, letters, separator).

Mathematically, the most used is 09AZ_ (numbers, letters, separator)

Symbols012389ABCXYZ_
Values01238910111233343536

In cryptography, it is preferred AZ09_ (letters, numbers, separator)

SymbolsABCYZ0123789_
Values01224252627282933343536

But it is possible to use other combinations, such as those starting with the separator _AZ09 or _09AZ, or the variant 09_AZ or AZ_09.

How to decrypt Base 37 cipher

Base-37 decryption is the conversion of encoded numbers (in base 10) to the base 37.

Example: Decode the message 571923. $ 571923 = 11 \times 37^3 + 10 \times 37^2 + 28 \times 37^1 + 14 \times 37^0 $ so [11,10,28,14] in base 37 and 11=B, 10=A, 28=S, 14=E, that gives the plain message BASE.

How to recognize a Base 37 ciphertext?

A base 37 code is theoretically made up of a single large decimal number of length proportional to that of the message.

Source code

dCode retains ownership of the "Base 37 Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Base 37 Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Base 37 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 37 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 37 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 37 Cipher on dCode.fr [online website], retrieved on 2024-12-03, https://www.dcode.fr/base-37-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 37 Cipher' tool for free! Thank you!


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