klefki.crypto.ecdsa.secp256r1

Module Contents

Functions

random_privkey() → CF

pubkey(priv: CF) → CG

sign(priv: CF, m: str) → SigType

https://bitcoin.stackexchange.com/questions/38351/ecdsa-v-r-s-what-is-v

verify(pub: CG, sig: tuple, msg: str)

verify_msghash(pub: CG, sig: tuple, mhash: int)

klefki.crypto.ecdsa.secp256r1.random_privkey() → CF
klefki.crypto.ecdsa.secp256r1.pubkey(priv: CF) → CG
klefki.crypto.ecdsa.secp256r1.sign(priv: CF, m: str) → SigType

https://bitcoin.stackexchange.com/questions/38351/ecdsa-v-r-s-what-is-v

klefki.crypto.ecdsa.secp256r1.verify(pub: CG, sig: tuple, msg: str)
klefki.crypto.ecdsa.secp256r1.verify_msghash(pub: CG, sig: tuple, mhash: int)