Search for a tool
Base91 Encoding

Tool for encryption/decryption in Base91, an encoding based on 91 ASCII characters that limits the size of the encoded data.

Results

Base91 Encoding -

Tag(s) : Character Encoding

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!


Thanks to your feedback and relevant comments, dCode has developed the best 'Base91 Encoding' tool, so feel free to write! Thank you!

Base91 Encoding

Base 91 Decoder

 








Base 91 Encoder

 

Answers to Questions (FAQ)

What is Base91 encoding? (Definition)

Base91 (or BasE91) is an alternative to base64 but with an expanded alphabet to 91 characters: the 94 printable ASCII characters (from 0x21 to 0x7E) omitting -: dash (0x2D), \: backslash (0x5C) and ': apostrophe (0x27). It allows any binary data to be encoded into a character string composed only of printable characters (and therefore transmissible via text messaging, etc.)

How to encrypt using Base91 cipher?

Base91 encoding splits data into 13-bit binary packets (ie 2 ^ 13 = 8192 values) which are then encoded in 2 letters of the alphabet (which contains 91 characters and 91 ^ 2 = 8281).

Example: DCODE string is coded xJ,Jc,A in Base91

The symbols used by the base are:

0 A1B2C3D4E5F6G7H8I9J10K11L12M
13N14O15P16Q17R18S19T20U21V22W23X24Y25Z
26a27b28c29d30e31f32g33h34i35j36k37l38m
39n40o41p42q43r44s45t46u47v48w49x50y51z
52053154255356457558659760861962!63#64$
65%66&67(68)69*70+71,72.73/74:75;76<77=
78>79?80@81[82]83^84_85`86{87|88}89~90"

How to decrypt Base91 cipher?

The decryption performs the inverse conversion to base 91.

To simplify, the message is split into groups of 2 letters which are converted into 13-bit data. The message is then read with the original encoding (ASCII or Unicode).

Example: The message encoded in Base 91 xJ,Jc,A is decoded in DCODE.

How to recognize BasE91 ciphertext?

The message is composed only of printable ASCII characters (except dash, backslash and apostrophe) that is 91 characters maximum.

Base91 encoded messages are on average 23% longer than the original message.

The author writes his code basE91 (with a capital E)

When was Base91 invented?

Joachim Henke claims it was invented in 2005, see here (link)

Source code

dCode retains ownership of the "Base91 Encoding" source code. Except explicit open source licence (indicated Creative Commons / free), the "Base91 Encoding" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "Base91 Encoding" 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 "Base91 Encoding" 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 "Base91 Encoding" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography):
Base91 Encoding on dCode.fr [online website], retrieved on 2022-08-08, https://www.dcode.fr/base-91-encoding

Need Help ?

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

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Base91 Encoding' tool, so feel free to write! Thank you!


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