[][src]Module sp_application_crypto::sr25519

Sr25519 crypto types.

Structs

AppPair

A generic AppPublic wrapper type over $pair crypto; this has no specific App.

AppPublic

A generic AppPublic wrapper type over $public crypto; this has no specific App.

AppSignature

A generic AppPublic wrapper type over $public crypto; this has no specific App.

LocalizedSignature

A localized signature also contains sender information. NOTE: Encode and Decode traits are supported in ed25519 but not possible for now here.

Pair

An Schnorrkel/Ristretto x25519 ("sr25519") key pair.

Public

An Schnorrkel/Ristretto x25519 ("sr25519") public key.

Signature

An Schnorrkel/Ristretto x25519 ("sr25519") signature.

Constants

CRYPTO_ID

An identifier used to match public keys against sr25519 keys

Functions

verify_batch

Batch verification.