Expand description
Interfaces for working with crypto related types from within the runtime.
Structs
- Provides implementations for the extern host functions.
Functions
- Generate an
ecdsakey for the given key type using an optionalseedand store it in the keystore. - Returns all
ecdsapublic keys for the given key id from the keystore. - Sign the given
msgwith theecdsakey that corresponds to the given public key and key type in the keystore. - Sign the given a pre-hashed
msgwith theecdsakey that corresponds to the given public key and key type in the keystore. - Verify
ecdsasignature. - Verify
ecdsasignature with pre-hashedmsg. - Generate an
ed22519key for the given key type using an optionalseedand store it in the keystore. - Returns all
ed25519public keys for the given key id from the keystore. - Sign the given
msgwith theed25519key that corresponds to the given public key and key type in the keystore. - Verify
ed25519signature. - Verify and recover a SECP256k1 ECDSA signature.
- Verify and recover a SECP256k1 ECDSA signature.
- Generate an
sr22519key for the given key type using an optional seed and store it in the keystore. - Returns all
sr25519public keys for the given key id from the keystore. - Sign the given
msgwith thesr25519key that corresponds to the given public key and key type in the keystore. - Verify
sr25519signature.