ckb_crypto

Module secp

Source
Expand description

secp256k1 wrapper

Structs§

Generator
A random secp keypair generator
Privkey
Wrapped private 256-bit key used as x in an ECDSA signature
Pubkey
A Secp256k1 512-bit public key, used for verification of signatures
Signature
RecoverableSignature compact serialize

Enums§

Error
The error type wrap SecpError

Statics§

SECP256K1
The reference to lazily-initialized static secp256k1 engine, used to execute all signature operations

Type Aliases§

Message
A (hashed) message input to an ECDSA signature