I googled and could not find much information on Base94 encoding. Does anyone has more details about this encoding?
Asked
Active
Viewed 5,275 times
1 Answers
6
Essentially: Base94 encoding takes 9 input bytes of 8 bits each, uses those to construct a 72-bit integer, and then converts that to an 11-digit base-94 number, and encodes that number using the ASCII characters !
(33) through ~
(126):
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
Here is some example code that someone published on GitHub:

masterxilo
- 2,503
- 1
- 30
- 35

Todd Lehman
- 2,880
- 1
- 26
- 32
-
1
-
@JayP — ok, added a link above. Hope that helps. It doesn't contain examples of input/output, but does appear to have a test case built in. – Todd Lehman Mar 21 '18 at 18:52
-
3
-
1@Benjamin — HA! YES. THANK YOU. Man, that's the first time I've ever accidentally typed `1` by accident when I meant to type `!`. Usually it's the other way around. – Todd Lehman Apr 15 '19 at 17:44