Performs sha256(sha256(bytes)).
Calculates HMAC-SHA512(key, data)
x coordinate
a tuple (p1, p2) where p1 and p2 are points on the curve and p1.x = p2.x = x p1.y is even, p2.y is odd
Recover public keys from a signature and the message that was signed.
Recover public keys from a signature and the message that was signed. This method will return 2 public keys, and the signature can be verified with both, but only one of them matches that private key that was used to generate the signature.
signature
message that was signed
a (pub1, pub2) tuple where pub1 and pub2 are candidates public keys. If you have the recovery id then use pub1 if the recovery id is even and pub2 if it is odd
Performs RIPEMD160(bytes).
Performs SHA1(bytes).
Takes sha256(bits).
Takes sha256(bytes).
Does the following computation: RIPEMD160(SHA256(hex)).
Utility cryptographic functions