Apex › Data & encoding

Base58 & Base58Check

The encoding behind Bitcoin addresses and IPFS content IDs. Like Base64 but it drops the look-alike characters (0, O, I, l) so a human can transcribe it, and because 58 isn't a power of two it encodes the whole input as one big base-58 number. Base58Check wraps a version byte and a 4-byte double-SHA256 checksum so a mistyped address is caught before any coins move. Build a real address and watch the checksum catch a typo.

More in Data & encoding