Module dock_crypto_utils::misc

source ·

Functions§

  • Produces an iterator emitting n items u32::to_le_bytes of the counter starting from zero.
  • Produces an iterator of little endian bytes of each element contained in the range counter_range
  • Produces an iterator affine group elements created by hashing a label and a counter in the range counter_range
  • Produces an iterator of projective group elements created by hashing a label and a counter in the range counter_range
  • Generates an iterator of randoms producing count elements using the supplied rng.
  • Produces points by multiplying supplied base by the provided scalars.
  • Generates a random using given rng.
  • Produces a function which will check for each item to be equal previous plus n starting from the supplied value.
  • Ensures that each sequence pair satisfy provided predicate.