Expand description
Interfaces for working with crypto related types from within the runtime.
Structs
- Provides implementations for the extern host functions.
Functions
- Register a
ecdsa
signature for batch verification. - Generate an
ecdsa
key for the given key type using an optionalseed
and store it in the keystore. - Returns all
ecdsa
public keys for the given key id from the keystore. - Sign the given
msg
with theecdsa
key that corresponds to the given public key and key type in the keystore. - Sign the given a pre-hashed
msg
with theecdsa
key that corresponds to the given public key and key type in the keystore. - Verify
ecdsa
signature. - Verify
ecdsa
signature with pre-hashedmsg
. - Register a
ed25519
signature for batch verification. - Generate an
ed22519
key for the given key type using an optionalseed
and store it in the keystore. - Returns all
ed25519
public keys for the given key id from the keystore. - Sign the given
msg
with theed25519
key that corresponds to the given public key and key type in the keystore. - Verify
ed25519
signature. - Finish batch-verification of signatures.
- Verify and recover a SECP256k1 ECDSA signature.
- Verify and recover a SECP256k1 ECDSA signature.
- Register a
sr25519
signature for batch verification. - Generate an
sr22519
key for the given key type using an optional seed and store it in the keystore. - Returns all
sr25519
public keys for the given key id from the keystore. - Sign the given
msg
with thesr25519
key that corresponds to the given public key and key type in the keystore. - Verify
sr25519
signature. - Start verification extension.