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

Support for Base56 #3

Open
charlesdaniels opened this issue Dec 9, 2017 · 5 comments
Open

Support for Base56 #3

charlesdaniels opened this issue Dec 9, 2017 · 5 comments
Labels

Comments

@charlesdaniels
Copy link
Owner

It could potentially be useful to have support for Base56. This could be added alongside for support for base64. If we do this, we will need to write a library for it, and we should probably do so in a separate project which can be uploaded to PyPi separately.

This will involve a compatibility level bump.

This is marked as hard because while the implementation in BitShuffle should be fairly straightforward, implementing the Base56 encoder/decoder will be really annoying.

@charlesdaniels charlesdaniels added feature new feature to add hard labels Dec 9, 2017
@jyn514
Copy link
Collaborator

jyn514 commented Dec 9, 2017

Currently looking into https://pypi.python.org/pypi/base58. Are you certain you meant to type 56? The wikipedia article links to 58.

@charlesdaniels
Copy link
Owner Author

From the article:

The actual order of letters in the alphabet depends on the application, which is the reason why the term “Base58” alone is not enough to fully describe the format. A variant, Base56, excludes 1 (one) and o (lowercase o) compared to Base 58.

The use case I had in mind would be for if a human ever needed to manually re-type a packet for some strange reason, hence the selection.

@jyn514
Copy link
Collaborator

jyn514 commented Feb 22, 2018

Thoughts on RFC 1751?

@jyn514
Copy link
Collaborator

jyn514 commented Feb 23, 2018

Started work on base56

@charlesdaniels
Copy link
Owner Author

Re RFC 1751: A quick glance makes it seem superficially similar to lexitar. We might want to look at using one / both?

Cool to see you starting on the base56 project. I do not have the bandwidth to contribute to that right now, but I will investigate and contribute as I am able.

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

No branches or pull requests

2 participants