Crate sinsemilla

Source
Expand description

Implementation of Sinsemilla outside the circuit.

Structs§

CommitDomain
A domain in which $\mathsf{SinsemillaCommit}$ and $\mathsf{SinsemillaShortCommit}$ can be used.
HashDomain
A domain in which $\mathsf{SinsemillaHashToPoint}$ and $\mathsf{SinsemillaHash}$ can be used.

Constants§

C
The largest integer such that $2^c \leq (r_P - 1) / 2$, where $r_P$ is the order of Pallas.
INV_TWO_POW_K
$\frac{1}{2^K}$
K
Number of bits of each message piece in $\mathsf{SinsemillaHashToPoint}$
Q_PERSONALIZATION
SWU hash-to-curve personalization for Sinsemilla $Q$ generators.
SINSEMILLA_S
The precomputed bases for the Sinsemilla hash function.
S_PERSONALIZATION
SWU hash-to-curve personalization for Sinsemilla $S$ generators.

Functions§

lebs2ip_k
Converts a little-endian K-bit string into an integer.