Module scrypto::crypto

source ·

Structs

Represents an ECDSA public key.
Represents an ECDSA signature.
EcdsaSecp256k1 signature verifier.
Represents an ED25519 public key.
Represents an ED25519 signature.
EddsaEd25519 signature verifier.
Represents a 32-byte hash digest.

Enums

Represents an error when parsing ECDSA public key from hex.
Represents an error when parsing ED25519 public key from hex.
Represents an error when parsing hash.
Represents any natively supported public key.
Represents any natively supported signature.
Represents any natively supported signature, including public key.

Functions

Computes the hash digest of a message.
Computes the SHA3 digest of a message.
Computes the SHA-256 digest of a message.
Computes the double SHA-256 digest of a message.