Expand description
A crate with handling of ECDSA and Schnorr keys over the secp256k1 curve
Structs§
- Canister
Id - Generic ID on Internet Computer.
- Derivation
Index - A component of a derivation path
- Derivation
Path - Derivation Path
- Private
Key - A secp256k1 public key, suitable for generating ECDSA and BIP340 signatures
- Public
Key - A secp256k1 public key, suitable for verifying ECDSA or BIP340 signatures
- Recovery
Id - Given an ECDSA signature
(r,s)and a signed digest, there can be several public keys that could verify this signature. This is problematic for certain applications (Bitcoin, Ethereum) where the public key is not transmitted but computed from the signature. TheRecoveryIddetermines uniquely which one of those public keys (and corresponding secret key) was used and is usually transmitted together with the signature.
Enums§
- Invalid
Taproot Hash - An error indicating that the Taproot hash was not acceptable
- KeyDecoding
Error - An error indicating that decoding a key failed
- Master
Public KeyId - An identifier for the mainnet production key
- Pocket
IcMaster Public KeyId - An identifier for the mainnet production key
- Recovery
Error - An error indicating that recovering the recovery of the signature y parity bit failed.