This updated "Bitcoin Morse" protocol supports '0' and ensures unambiguous decoding by using prefix-free codes. It encodes strings (like Bitcoin addresses) into numeric-only format using digits 0-9, covering all 58 base58 characters: 0-9, A-Z, and a-z (no exclusions).
Supports 58 characters:
Example: 32VtnDNe7nuPqaNzifxJiCUguRkQEQWHn6
.
Each character has a unique numeric code, designed so no code is a prefix of another:
Here’s every possible character and its Bitcoin Morse code:
0 → 10
1 → 11
2 → 12
3 → 13
4 → 14
5 → 15
6 → 16
7 → 17
8 → 18
9 → 19
A → 01
B → 02
C → 03
D → 04
E → 05
F → 06
G → 07
H → 08
I → 0006
J → 09
K → 001
L → 0007
M → 002
N → 003
O → 0008
P → 004
Q → 005
R → 006
S → 007
T → 008
U → 009
V → 0001
W → 0002
X → 0003
Y → 0004
Z → 0005
a → 021
b → 022
c → 023
d → 024
e → 025
f → 026
g → 027
h → 028
i → 020
j → 029
k → 0021
l → 0009
m → 0022
n → 0023
o → 0020
p → 0024
q → 0025
r → 0026
s → 0027
t → 0028
u → 0029
v → 00021
w → 00022
x → 00023
y → 00024
z → 00025
For 0K0
:
1000110
(uniquely decodable).
For 32Vi
:
13120001020
.
A numeric-only encoding that’s unambiguous, supports '0', and works for Bitcoin addresses using the full base58 alphabet.