Skip to content

Add the Braille code as the standard set for 256-character lenght  #20

@slimhk45

Description

@slimhk45

After talking with AI, the maintainer of Nanoid, we came to the suggestion that the Braille code should be the standard set used of 256-character lenght. It does not have any advantage in terms of lisibility over base64 (it is slightly larger at equal lenght, and almost nobody can read or type it efficiently), but it might find some applications where a user can't use base64, but still want to use a big and URL-safe character set.

It is also easy to do conversion with UUIDv4 as we can map two hexadecimal character to a single Braille character.
Hence we can reduce the lenght to 16 characters (2^128 = 256^16).

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions