Module sp_io::crypto [−][src]
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 optional seed
and
store it in the keystore.
Returns all ecdsa
public keys for the given key id from the keystore.
Sign the given msg
with the ecdsa
key that corresponds to the given public key and
key type in the keystore.
Verify ecdsa
signature.
Register a ed25519
signature for batch verification.
Generate an ed22519
key for the given key type using an optional seed
and
store it in the keystore.
Returns all ed25519
public keys for the given key id from the keystore.
Sign the given msg
with the ed25519
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 the sr25519
key that corresponds to the given public key and
key type in the keystore.
Verify sr25519
signature.
Start verification extension.