Skip to main content

Crate primitives

Crate primitives 

Source

Modules§

algebra
ciphers
commitments
constants
errors
hashing
random
sharing
signing
transcripts
types
utils

Macros§

chain_eq
An adaptor for itertools::chain! macro which creates an ExactSizeIterator.
izip_eq
Create an iterator running multiple iterators in lockstep, panicking if they are not the same length.
izip_eq_lazy
Create an iterator running multiple iterators in lockstep, panicking if they are not of the same length.
par_izip
Create a parallel iterator running multiple iterators in lockstep, panicking if they are not the same length.
sync_join
Macro that joins futures and ensures all have completed before any values are dropped.
sync_try_join
Macro that try_joins futures and ensures all have completed before any values are dropped.
zip_maps
Create an iterator over hashmaps with the same keys. Accepts a list of keys, and the maps to be iterated over. Panics if any of the keys are not found in the maps.