Skip to main content

Module generator

Module generator 

Source

Structsยง

IndexedPolynomial ๐Ÿ”’
SsaGeneratorConfig
Configuration for the SsaShareGenerator.
SsaPseudonymEntry ๐Ÿ”’
SsaShareGenerator
Generator for Session Stealth Address (SSA) shares distributed over Single Use Reply Blocks (SURBs).

Constantsยง

SHARE_EMISSION_WINDOW
Number of polynomials the generator emits shares for concurrently.

Functionsยง

new_polynomial_with_commitment ๐Ÿ”’
Builds a Shamir polynomial of degree t - 1 over secret and commits to its constant term.
surplus_must_not_exceed_threshold ๐Ÿ”’
Rejects a surplus larger than the threshold it insures.
transposed_constant_terms ๐Ÿ”’
Lays the per-polynomial constant-term commitments out in the coefficient-major form the wire messages expect.

Type Aliasesยง

RawPolynomial ๐Ÿ”’