I just downloaded this package and tried to create a simple example to make sure I'm using it right. I took the RIPEMD-160 output from the Technical background for creating addresses and wrote this code:
data = "00010966776006953D5567439E5E39F86A0D273BEED61967F6"
print(base58.b58encode(data))
The Base58Check encoding should be "16UwLL9Risc3QfPqBUvKofHmBQ7wMtjvM", not the one above. So I tried this:
data = "00010966776006953D5567439E5E39F86A0D273BEED61967F6"
print(base58.b58encode_check(data))
When run:
Does anyone know how to use this package correctly? Sadly, it lacks of instructions or a readme file.
Thanks.