klefki.blockchain.bitcoin.sign
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
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)¶