diff --git a/README.md b/README.md index 39076e5..90bbc73 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,12 @@ Base | Alphabet 2 | `01` 8 | `01234567` 11 | `0123456789a` -32 | `0123456789ABCDEFGHJKMNPQRSTVWXYZ` +26 | `ABCDEFGHIJKLMNOPQRSTUVWXYZ` +26 | `abcdefghijklmnopqrstuvwxyz` (lowercase) 32 | `ybndrfg8ejkmcpqxot1uwisza345h769` (z-base-32) 36 | `0123456789abcdefghijklmnopqrstuvwxyz` 45 | `0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:` +52 | `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz` 58 | `123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz` (bitcoin) 58 | `123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ` (flickr) 58 | `rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz` (ripple) diff --git a/src/base_x/alphabets.cr b/src/base_x/alphabets.cr index fa76219..5bb8f4f 100644 --- a/src/base_x/alphabets.cr +++ b/src/base_x/alphabets.cr @@ -11,6 +11,10 @@ end base11: { default: "0123456789a", }, + base26: { + default: "ABCDEFGHJKMNPQRSTVWXYZ", + lowercase: "abcdefghijklmnopqrstuvwxyz", + }, base32: { default: "0123456789ABCDEFGHJKMNPQRSTVWXYZ", z_base: "ybndrfg8ejkmcpqxot1uwisza345h769", @@ -21,6 +25,9 @@ end base45: { default: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:", }, + base52: { + default: "ABCDEFGHJKMNPQRSTVWXYZabcdefghijklmnopqrstuvwxyz", + }, base58: { default: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz", flickr: "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",