Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DonaldTsang opened this issue Oct 21, 2015 · 3 comments
Open

Comments

@DonaldTsang
Copy link

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

@aberaud
Copy link
Owner

aberaud commented Oct 21, 2015

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

@DonaldTsang
Copy link
Author

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
Copy link
Author

r-lyeh-archived/base#1 Found someone who i asked a similar question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants