3 ms·
Encoding and decoding base58 is a lot less efficient (needs arithmetic multiplication with a carry across the stream). Base32 is sufficient in most cases and c
by nly 3y ago
Encoding and decoding base58 is a lot less efficient (needs arithmetic multiplication with a carry across the stream).
Base32 is sufficient in most cases and can avoid some incidental swear words.
If you want density go for Z85, which is a 4 -> 5 byte chunked encoding and therefore much more efficient on a pipelined CPU.
https://rfc.zeromq.org/spec/32/ https://rfc.zeromq.org/spec/32/
- JimDabell 3y agoBase32 has almost half the efficiency of Base62; Z85 suffers from the same problem as Base64 in terms of including word-breaking punctuation.
- kibwen 3y agoBase32 is far more efficient than that. Base32 allows you to encode 5 bytes in 8 symbols, as compared to Base64, which allows you to encode 6 bytes in 8 symbols. While the exact efficiency will vary based on how many bytes your message is, for the most part Base32 produces output that is only 20% larger than Base64, let alone Base62.