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 Base91 have been invented?

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

Source code

dCode retains ownership of the online 'Base91 Encoding' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Base91 Encoding' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Base91 Encoding' 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 'Base91 Encoding' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

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!


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