Module sinsemilla

Source
Expand description

Sinsemilla generators

Enumsยง

OrchardCommitDomains
OrchardHashDomains

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}$
L_ORCHARD_MERKLE ๐Ÿ”’
$\ell^\mathsf{Orchard}_\mathsf{Merkle}$
MERKLE_CRH_PERSONALIZATION
SWU hash-to-curve personalization for the Merkle CRH generator
Q_COMMIT_IVK_M_GENERATOR
Generator used in SinsemillaHashToPoint for IVK commitment
Q_MERKLE_CRH
Generator used in SinsemillaHashToPoint for Merkle collision-resistant hash
Q_NOTE_COMMITMENT_M_GENERATOR
Generator used in SinsemillaHashToPoint for note commitment

Functionsยง

i2lebsp_k ๐Ÿ”’
The sequence of K bits in little-endian order representing an integer up to 2^K - 1.
lebs2ip_k ๐Ÿ”’