Skip to content

Commit 7451f37

Browse files
committed
chore: add encoding examples to README.md
1 parent 2876f3b commit 7451f37

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ implementations support custom alphabets.
138138
* Base85: High-density encoding (4 bytes to 5 characters).
139139
* Base64 / Base64UrlSafe: RFC 4648 compatible.
140140

141+
Encoding `"any byte data"` (13 bytes):
142+
143+
| Codec | Output | Length | Alphabet |
144+
|--------|-------------------------|--------|------------------|
145+
| Base62 | `2BVj6VHhfNlsGmoMQF` | 18 | `[0-9A-Za-z]` |
146+
| Base36 | `0ksef5o4kvegb70nre15t` | 21 | `[0-9a-z]` |
147+
| Base64 | `YW55IGJ5dGUgZGF0YQ==` | 20 | `[0-9A-Za-z+/=]` |
148+
| Base85 | `@;^?5@X3',+Cno&@/` | 17 | ASCII 33–117 |
149+
141150
---
142151

143152
## Encryption

0 commit comments

Comments
 (0)