# Functions
ComputeHashOnElements computes the hash on the given elements using a golang Pedersen Hash implementation.
DivMod calculates the quotient and remainder of a division operation between two big integers (0 <= x < p such that (m * x) % p == n).
FmtKecBytes formats a big integer into a Keccak hash.
HashPedersenElements calculates the hash of a list of elements using a golang Pedersen Hash.
MaskBits masks the specified (excess) bits in a byte slice.
Pedersen is a function that implements the Pedersen hash.
PedersenArray is a function that takes a variadic number of felt.Felt pointers as parameters and calls the PedersenArray function from the junoCrypto package with the provided parameters.
WithConstants creates a CurveOption (a curve initialized with constant points) that initializes the constants of the curve.
# Variables
No description provided by the author
No description provided by the author
go:embed pedersen_params.json.
# Structs
Returned stark curve includes several values above and beyond
what the 'elliptic' interface calls for to facilitate common starkware functions
*/.
struct definition for parsing 'pedersen_params.json'.
# Interfaces
No description provided by the author