Module crypto

Source
Expand description

Crypto related functions and runtime initialized constants

Constants§

ZERO_COMMITMENT_DECOMPOSED_AMOUNT
This is the decomposed amount table containing the mandatory Pre-RCT amounts. It is used to pre-compute zero commitments at runtime.

Statics§

ZERO_COMMITMENT_LOOKUP_TABLE
Runtime initialized zero commitment lookup table

Functions§

compute_zero_commitment
This function computes the zero commitment given a specific amount.