logo
Expand description

Cryptographic types and operations on them

Enums

Cryptographic errors.

A public asymmetric key.

A secret or private asymmetric key.

A signature of given data.

Constants

Tag for ed25519 variant.

Tag for secp256k1 variant.

Public key for system account.

Tag for system variant.

Traits

Operations on asymmetric cryptographic type.

Functions

Signs the given message using the given key pair.

Verifies the signature of the given message against the given public key.