Docs.rs
  • snarkvm-fields-0.16.17
    • snarkvm-fields 0.16.17
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • howardwu
    • Dependencies
      • aleo-std ^0.1.18 normal
      • anyhow ^1.0 normal
      • itertools ^0.11.0 normal
      • num-traits ^0.2 normal
      • rand ^0.8 normal
      • rayon ^1 normal
      • serde ^1.0 normal
      • snarkvm-utilities =0.16.17 normal
      • thiserror ^1.0 normal
      • zeroize ^1 normal
    • Versions
    • 20.83% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate snarkvm_fields

snarkvm_fields0.16.17

  • All Items
  • Modules
  • Macros
  • Structs
  • Enums
  • Traits
  • Functions

Crates

  • snarkvm_fields
?
Change settings

Crate snarkvm_fields

source ·

Re-exports

  • pub use errors::*;
  • pub use traits::*;

Modules

  • errors
  • fp6_3over2
  • traits

Macros

  • field
  • impl_add_sub_from_field_ref
    Implements Add, Sub, AddAssign, and SubAssign on Self by deferring to an implementation on &Self
  • impl_mul_div_from_field_ref
    Implements Mul, Div, MulAssign, and DivAssign on Self by deferring to an implementation on &Self

Structs

  • Fp2
  • Fp12
    An element of Fp12, represented by c0 + c1 * v
  • Fp256
  • Fp384

Enums

  • LegendreSymbol

Traits

  • Fp2Parameters
  • Fp12Parameters
  • Fp256Parameters
  • Fp384Parameters

Functions

  • batch_inversion
  • batch_inversion_and_mul

Results

trait
snarkvm_fields::traits::FieldParameters
A trait that defines parameters for a prime field.
trait
snarkvm_fields::traits::FftParameters
A trait that defines parameters for a field that can be …
assoc type
snarkvm_fields::traits::FftField::FftParameters
trait
snarkvm_fields::Fp2Parameters
trait
snarkvm_fields::fp6_3over2::Fp6Parameters
trait
snarkvm_fields::Fp12Parameters
trait
snarkvm_fields::Fp256Parameters
trait
snarkvm_fields::Fp384Parameters
assoc type
snarkvm_fields::traits::PrimeField::Parameters
trait method
snarkvm_fields::traits::PrimeField::to_bigint
Returns a human-readable Self::BigInteger in the range …
trait method
snarkvm_fields::traits::PrimeField::decompose
Returns the decomposition of the scalar.
trait method
snarkvm_fields::traits::PrimeField::from_bigint
Constructs a PrimeField element given a human-readable …
method
snarkvm_fields::traits::PrimeField::from_bytes_be_mod_order
Reads bytes in big-endian, and converts them to a field …
method
snarkvm_fields::traits::PrimeField::from_bytes_le_mod_order
Reads bytes in little-endian, and converts them to a field …
trait method
snarkvm_fields::traits::PrimeField::decompose
Returns the decomposition of the scalar.