[][src]Module ckb_crypto::secp

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

SECP256K1

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

Signature

RecoverableSignature compact serialize

Enums

Error

The error type wrap SecpError

Type Definitions

Message

A (hashed) message input to an ECDSA signature