Expand description
cfxkey reexport to make documentation look pretty.
Modules§
Structs§
- Brain
- Simple brainwallet.
- Brain
Prefix - Tries to find brain-seed keypair with address starting with given prefix.
- Extended
KeyPair - Extended
Public - Extended public key, allows deterministic derivation of subsequent keys.
- Extended
Secret - Extended secret key, allows deterministic derivation of subsequent keys.
- KeyPair
- secp256k1 key pair
- Password
- Prefix
- Tries to find keypair with address starting with given prefix.
- Random
- Randomly generates new keypair, instantiating the RNG each time.
- SECP256
K1 - Secret
- Signature
- Signature encoded as RSV components
Enums§
- Derivation
- Key derivation over generic label
T
- Derivation
Error - Error
- Crypto error
- Void
- Uninstantiatable error type for infallible generators.
- Wordlist
Error - Phrase Validation Error
Traits§
- Generator
- Generates new keypair.
- KeyPair
Generator - Generates new keypair.
Functions§
- is_
compatible_ public - Check if the recovered address started with 0x1. If it does, this public key will have same the address in Conflux Network and Ethereum.
- public_
is_ valid - Whether the public key is valid.
- public_
to_ address - recover
- sign
- verify_
address - verify_
public