Search for a tool
Base 58 Cipher

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

Results

Base 58 Cipher -

Tag(s) : Arithmetics, Character Encoding

Share
dCode and you

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 community Discord for help requests!

Thanks to your feedback and relevant comments, dCode has developped the best Base 58 Cipher tool, so feel free to write! Thank you !

# Base 58 Cipher

## Base 58 Decoder

 Results format ASCII characters (printable only) Hexadecimal 00-7F-FF Decimal 0-127-255 Octal 000-177-377 Binary 00000000-11111111 Integer number File to download

## Base 58 Encoder

### From a number

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

### How to encrypt using Base58 cipher?

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.

### How to decrypt Base58 cipher?

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.

### How to recognize a Base 58 ciphertext?

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.

### What are the variants of Base 58?

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.

## Source code

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

## Need Help ?

Please, check our community Discord for help requests!