0250863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b2352
This will give you :
1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAs
This is a demo, it uses Legacy Bitcoin addresses, which start with a 1 for P2PKH (Pay-to-Public-Key-Hash) addresses.
Legacy Addresses (Base58Check):
Format: Starts with 1.
Example: 1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAs.
Encoding: Base58Check encoding.
Type: P2PKH (Pay-to-Public-Key-Hash).
This code generates a legacy Bitcoin address from a given public key in hexadecimal format. It performs the following steps:
Base58 Encoding: Converts the final byte array into a Base58 string, resulting in the Bitcoin address.