Skip to content

The standard incorrectly implies that c32encode uses Crockford Base32 #40

@ssg

Description

@ssg

The text "hello world" encodes to "D1JPRV3F41VPYWKCCG" in Crockford Base32 while the example given for c32encode in the README says it would encode to "38CNP6RVS0EXQQ4V34" instead. The implementation seems significantly different too, like handling of zero prefixes, isolated handling of the version prefix, and encoding from the end like Base58, and so forth.

Yet the README states that c32encode uses "Crockford Base32". I find that misleading since the outputs seem incompatible. It seems like at least a separate specification is needed for c32encode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions