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

common: add Jamtis base32 encoding #6

Merged

Commits on Sep 22, 2023

  1. common: add Jamtis base32 encoding

    see encoding scheme spec here: https://gist.github.com/tevador/50160d160d24cfc6c52ae02eb3d17024#35-base32-encoding
    
    1. No-allocate API provided
    2. "binary-lossy" mode, which lets us encrypt blocks of 5 bits at a time, useful for Jamtis addresses
    3. Normalizes mis-typed characters and has case-insensitive decoding
    4. Ignores hyphens when decoding
    5. Error code handling
    jeffro256 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    ad1cb23 View commit details
    Browse the repository at this point in the history