base91-python icon indicating copy to clipboard operation
base91-python copied to clipboard

Could you create a version of Base91 that exactly map to 13bits?

Open DonaldTsang opened this issue 9 years ago • 3 comments

I would like to have a B91 system where each 52bits maps to exactly 4 characters. Is it possible to do that?

DonaldTsang avatar Oct 21 '15 13:10 DonaldTsang

That's very close to what base91 does. What would you do if the message length is not a multiple of 4 bytes ?

aberaud avatar Oct 21 '15 15:10 aberaud

I though Base91 will sometimes put 14bits into 2 characters due to "higher compression", and i wanted a version of base91 that WILL NOT switch between 13bit and 14bit blocks.

P.S. 2^13 in base91 is 90:2, that means everything from C" (90:2) to "" (90:90) should be invalid pairs.

DonaldTsang avatar Oct 22 '15 04:10 DonaldTsang

https://github.com/r-lyeh/base91/issues/1 Found someone who i asked a similar question.

DonaldTsang avatar Oct 26 '15 08:10 DonaldTsang