Base58 encoding scheme using 58-character alphabet that excludes visually similar characters (0, O, I, l). Created by Satoshi Nakamoto for Bitcoin addresses to reduce transcription errors. Educational implementation.
| Property | Value |
|---|---|
| Category | Encoding Schemes |
| Sub-category | Base Encoding |
| Security status | 🎓 Educational Only |
| Complexity | Intermediate |
| Inventor | Satoshi Nakamoto |
| Year | 2009 |
| Origin | 🌐 International |
| Source | algorithms/encoding/base58.js |
Status: 🎓 Educational Only
No vulnerabilities are recorded for this implementation.
7 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — Base58 empty string test
| Field | Value |
|---|---|
input |
(empty) |
expected |
(empty) |
Vector 2 — Base58 single character test
| Field | Value |
|---|---|
input |
66 |
expected |
326d |
Vector 3 — Base58 two character test
| Field | Value |
|---|---|
input |
666f |
expected |
386f38 |
Vector 4 — Base58 three character test
| Field | Value |
|---|---|
input |
666f6f |
expected |
62516270 |
Vector 5 — Base58 four character test
| Field | Value |
|---|---|
input |
666f6f62 |
expected |
336373416739 |
Vector 6 — Base58 five character test
| Field | Value |
|---|---|
input |
666f6f6261 |
expected |
435a4a52686d7a |
Vector 7 — Base58 six character test
| Field | Value |
|---|---|
input |
666f6f626172 |
expected |
74315a763279615a |