Crypto Calculator
Convert and inspect Bitcoin and Ethereum private keys, public keys, addresses, WIF, hashes, Base58Check, and numeric or text encodings. Calculations run locally in your browser, and you can process multiple values by placing each input on a separate line.
Place each input on a new line.
Crypto Calculator FAQ
-
Take a private key in hexadecimal format:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -
Add the
0x80version byte for Bitcoin mainnet or0xeffor testnet:
80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -
Append
0x01if wallets should derive a compressed public key:
80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501 -
Perform Base58Check encoding:
L4rK1yDtCWekvXuE6oXD9jCYfFNV2cWRpVuPLBcCU2z8TrisoyY1
-
Take a Wallet Import Format (WIF)
string:
L4rK1yDtCWekvXuE6oXD9jCYfFNV2cWRpVuPLBcCU2z8TrisoyY1 -
Perform Base58Check decoding and verify its checksum:
80e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501 -
Remove the version byte (
0x80for Bitcoin mainnet):
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85501 -
If present, remove the final
0x01compressed-public-key marker:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
-
Start with a private key in hexadecimal format:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -
Derive the corresponding public key. This example uses the compressed form:
03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd -
Perform SHA-256 hashing:
4c0b2d2f119a09b607cb273a745b2b0430d5192e0c4e536f932be5d1a6be5883 -
Perform RIPEMD-160 hashing:
9a1c78a507689f6f54b847ad1cef1e614ee23f1e -
Add the
0x00P2PKH version byte for Bitcoin mainnet:
009a1c78a507689f6f54b847ad1cef1e614ee23f1e -
Perform Base58Check encoding to produce the legacy P2PKH address:
1F3sAm6ZtwLAUnj7d38pGFxtP3RVEvtsbV
-
Start with a legacy Bitcoin P2PKH address:
1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH -
Perform Base58Check decoding:
00751e76e8199196d454941c45d1b3a323f1433bd6 -
Remove the
0x00Bitcoin version byte to obtain the public-key hash:
751e76e8199196d454941c45d1b3a323f1433bd6 -
Add the
0x1eDogecoin P2PKH version byte:
1e751e76e8199196d454941c45d1b3a323f1433bd6 -
Perform Base58Check encoding:
DFpN6QqFfUm3gKNaxN6tNcab1FArL9cZLE
-
Start with a private key in hexadecimal format:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -
Derive the corresponding public key (uncompressed):
04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235 -
Remove the first byte (0x04):
a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235 -
Perform Keccak-256 hashing:
a3c7b15596359456ea3b05ea41ad2bc63a2059f9b623533d87fe99887d794847 -
Take the last 20 bytes:
41ad2bc63a2059f9b623533d87fe99887d794847 -
Add the
0xprefix:
0x41ad2bc63a2059f9b623533d87fe99887d794847