Tool to encrypt / convert with base 58 composed of alphanumeric characters except 0,O,I,l to avoid reading errors.

Base 58 Cipher - dCode

Tag(s) : Arithmetics, Character Encoding

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

The **base 58** was created to code large integer numbers, like any base in arithmetic, it uses symbols for the digits. In **base 58**, these are the 58 symbols `123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz` (the numbers `0` as well the uppercase letters `I` and `O` and lowercase letter `l` have been removed from the 62 classic alphanumeric symbols so that they cannot be misread by a human or a machine)

Encryption of a number is done by performing a change of basis.

__Example:__ $ 1234_{10} = 21 \times 58^1 + 16 = \{21,16\}_{58} $ or `NH` using the symbols of **base 58** (the 21st symbol is an `N` and the 16th symbol is an `H`).

To encrypt a message, you must first convert it to a large number, using the ASCII or Unicode table.

The decryption of **Base 58** consists of a conversion of the message considered into **base 58**.

If the expected result is a number then convert **base 58** to base 10 to obtain an integer.

__Example:__ The message in **base 58** `38` corresponds to the calculation $ 2 \times 58 + 7 = 123 $ or `123` in base 10.

If the expected result is a message, then convert the **base 58** to binary or hexadecimal and use the desired coding table (ASCII or Unicode) to obtain a plain message.

The message is composed of at most 58 distinct characters, and must not contain a digit `0` (zero), nor a letter `I` (capital i), nor a letter `O` (capital o) or letter `l` (lowercase L).

Any reference to Bitcoin or its inventor Satoshi Nakamoto or to any other cryptocurrency like Ripple is a clue.

The symbol alphabet used to code **base 58** may be completely different from `123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`.

A classic variant is `123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ` (uppercase and lowercase inverted, used by Flickr) but many other alphabets, including deranged alphabets can be used.

dCode retains ownership of the online "Base 58 Cipher" source code. Except explicit open source licence (indicated CC / Creative Commons / free), the "Base 58 Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Base 58 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, copy-paste, or API access for "Base 58 Cipher" are not public, same for offline use on PC, tablet, iPhone or Android ! Remainder : dCode is free to use.

Please, check our dCode Discord community for help requests!

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

58,base,bitcoin,satoshi,nakamoto

Source : https://www.dcode.fr/base-58-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 58 Cipher' tool, so feel free to write! Thank you!