-
Notifications
You must be signed in to change notification settings - Fork 8
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
Describe base62 in more detail #14
Comments
Why not Base64UrlSafe? libsodium has a constant-time implementation of it already, including URL safe variant... also exposed through php-sodium. |
vs
There is a small performance hit by using base62 instead of base64, but it is negligible since one should keep the amount data encoded into the token reasonably small anyway. |
Thanks for taking the time to explain! It may be beneficial to also mention this in the specification itself. |
Good idea. Maybe some separate design notes document. I try to keep the spec short and concise too. |
Should specify that used Base62 encoding is byte by byte.
The text was updated successfully, but these errors were encountered: