Crate wedpr_l_crypto_zkp_utils[−][src]
Expand description
Common utility functions for ZKP.
Structs
A base point used by various crypto algorithms.
Another base point used by various crypto algorithms.
Functions
Converts a vector to RistrettoPoint.
Converts a vector to Scalar.
Gets a random Scalar.
Gets a random u32 integer.
Converts an arbitrary string to Scalar. It will hash it first, and transform the numeric value of hash output to Scalar.
Converts RistrettoPoint to a bytes vector.
Converts RistrettoPoint to a bytes slice.
Converts Scalar to a vector.
Converts Scalar to a slice.