[][src]Module casper_node::crypto

Cryptographic types and functions.

Modules

hash

Cryptographic hash type and function.

Enums

Error

Cryptographic errors.

Traits

AsymmetricKeyExt

Additional operations an asymmetric key

Functions

generate_ed25519_keypair

Generates an Ed25519 keypair using the operating system's cryptographically secure random number generator.

sign

Signs the given message using the given key pair.

verify

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

Type Definitions

Result

A specialized std::result::Result type for cryptographic errors.