klefki.blockchain.bitcoin.sign

Module Contents

Functions

decode_edr(value)

to_sigtype(sig)

from_sigtype(sig)

msgsig_to_bytes(v, r, s)

msgid_from_bytes(v, r, s)

compose(v, r, s) → bytes

decompose(b: bytes) → ecdsa.SigType

sign(privkey: str, msg: str)

sign_bytes(privkey: str, msg: bytes)

verify(pubkey: str, sig: str, msg: str)

klefki.blockchain.bitcoin.sign.decode_edr(value)
klefki.blockchain.bitcoin.sign.sig_encode
klefki.blockchain.bitcoin.sign.sig_decode
klefki.blockchain.bitcoin.sign.to_sigtype(sig)
klefki.blockchain.bitcoin.sign.from_sigtype(sig)
klefki.blockchain.bitcoin.sign.msgsig_to_bytes(v, r, s)
klefki.blockchain.bitcoin.sign.msgid_from_bytes(v, r, s)
klefki.blockchain.bitcoin.sign.compose(v, r, s) → bytes
klefki.blockchain.bitcoin.sign.decompose(b: bytes) → ecdsa.SigType
klefki.blockchain.bitcoin.sign.msgsig_encode :Callable[[ecdsa.SigType], bytes]
klefki.blockchain.bitcoin.sign.msgsig_decode :Callable[[bytes], ecdsa.SigType]
klefki.blockchain.bitcoin.sign.sign(privkey: str, msg: str)
klefki.blockchain.bitcoin.sign.sign_bytes(privkey: str, msg: bytes)
klefki.blockchain.bitcoin.sign.verify(pubkey: str, sig: str, msg: str)