Crate miden_crypto

Crate miden_crypto 

Source

Re-exports§

pub use word::Word;
pub use word::WordError;
pub use k256::elliptic_curve::zeroize;

Modules§

aead
AEAD (authenticated encryption with associated data) schemes.
dsa
Digital signature schemes supported by default in the Miden VM.
ecdh
ECDH (Elliptic Curve Diffie-Hellman) key agreement implementations.
hash
Cryptographic hash functions used by the Miden protocol.
ies
Integrated Encryption Scheme (IES) utilities.
merkle
Data structures related to Merkle trees based on RPO256 hash function.
rand
Pseudo-random element generation.
utils
Utilities used in this crate which can also be generally useful downstream.
word
A Word type used in the Miden protocol and associated utilities.

Macros§

word
Construct a new Word from a hex value.

Structs§

CubeExtension
Represents an element in a cubic extension of a StarkField.
Felt
Represents base field element in the field using Montgomery representation.
QuadExtension
Represents an element in a quadratic extension of a StarkField.

Constants§

EMPTY_WORD
Array of field elements representing word of ZEROs in the Miden base field.
ONE
Field element representing ONE in the Miden base filed.
WORD_SIZE
Number of field elements in a word.
ZERO
Field element representing ZERO in the Miden base filed.

Traits§

FieldElement
Defines an element in a finite field.
SequentialCommit
Defines how to compute a commitment to an object represented as a sequence of field elements.
StarkField
Defines an element in a STARK-friendly finite field.

Type Aliases§

Map
An alias for a key-value map.