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

Clarification of Crockford Base32 #38

Closed
tuupola opened this issue Dec 13, 2019 · 2 comments
Closed

Clarification of Crockford Base32 #38

tuupola opened this issue Dec 13, 2019 · 2 comments

Comments

@tuupola
Copy link

tuupola commented Dec 13, 2019

The spec says:

"Uses Crockford's base32 for better efficiency and readability (5 bits per character)"

"Crockford's Base32 is used as shown. This alphabet excludes the letters I, L, O, and U to avoid confusion and abuse."

However it is not exactly clear does this mean only using the character set 0123456789ABCDEFGHJKMNPQRSTVWXYZ or does it mean using also the Crockford base32 features such as treating i and l as 1, treating o as 0 and ignoring hyphens in the string?

@tuupola
Copy link
Author

tuupola commented Jan 3, 2020

Ping @alizain

@alizain
Copy link
Contributor

alizain commented Jan 6, 2020

This part of the spec can be better written. The reference JS implementation does not use the other Crockford base32 features, it only uses the reduced character set.

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