Expand description
Interfaces for working with crypto related types from within the runtime.
Structs§
- Provides implementations for the extern host functions.
Functions§
- 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. - 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.