Crate miden_crypto

source ·

Modules

  • Digital signature schemes supported by default in the Miden VM.
  • Cryptographic hash functions used by the Miden VM and the Miden rollup.
  • Data structures related to Merkle trees based on RPO256 hash function.
  • Pseudo-random element generation.
  • Utilities used in this crate which can also be generally useful downstream.

Structs

  • Represents base field element in the field using Montgomery representation.

Constants

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

Traits

  • Defines an element in a finite field.
  • Defines an element in a STARK-friendly finite field.

Type Aliases

  • A group of four field elements in the Miden base field.