MCPcopy Index your code
hub / github.com/jimmysong/programmingbitcoin / encode_base58_checksum

Function encode_base58_checksum

code-ch13/helper.py:52–53  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

50
51
52def encode_base58_checksum(s):
53 return encode_base58(s + hash256(s)[:4])
54
55
56def decode_base58(s):

Callers 5

addressMethod · 0.90
wifMethod · 0.90
h160_to_p2pkh_addressFunction · 0.70
h160_to_p2sh_addressFunction · 0.70
test_base58Method · 0.70

Calls 2

encode_base58Function · 0.70
hash256Function · 0.70

Tested by 1

test_base58Method · 0.56