Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Topic OP
Addresses start with capitals/numbers?
by
BlackHatCoiner
on 26/03/2021, 13:58:44 UTC
⭐ Merited by Pmalek (1)
I just noticed that every address starts with a capital letter or with a number (after its prefix) and I want to understand why. I'll take a p2pkh address as an example. We add a version byte in front of the RIPEMD-160 hash and it becomes:
Code:
00f54a5851e9372b87810a8e60cdd2e7cfd80b6e31

Then we add a checksum from a SHA-256 hash and it will be:
Code:
00f54a5851e9372b87810a8e60cdd2e7cfd80b6e31c7f18fe8

These two zeroes in the front define "1" when we convert the above to base58. Why every address starts with a capital/number since we encode a hash?