Skip to content

Crockford interpretation #4

@oaustegard

Description

@oaustegard

Crockford's base32 isn't just about removing potentially confused characters, it is also about gracefully handling what happens when one of them is provided: e.g. oO0 all are interpreted as 0, iIlL1 are all interpreted as 1, and so on.
It's hard to implement this gracefully - a naïve C# implementation is here (at one point served as the basis for a homegrown url shortener) https://github.com/austegard/Squrl/blob/master/HumanBase32.cs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions