halo2curves_axiom::bls12_381

Module hash_to_curve

Source
Expand description

This module implements hash_to_curve, hash_to_field and related hashing primitives for use with BLS signatures.

Source: https://github.com/privacy-scaling-explorations/bls12_381

Structs§

  • Constructor for expand_message_xmd for a given digest hash function, message, DST, and output length.
  • A generator for the output of expand_message_xof for a given extendable hash function, message, DST, and output length.

Traits§

  • A trait for message expansion methods supported by hash-to-curve.
  • Trait for types implementing the expand_message interface for hash_to_field.
  • Implementation of random oracle maps to the curve.
  • Enables a byte string to be hashed into one or more field elements for a given curve.
  • Trait for constructing a new message expander.
  • Allow conversion from the output of hashed or encoded input into points on the curve