Module schnorrkel::points
source · Expand description
§Ristretto point tooling
We provide a RistrettoBoth
type that contains both an uncompressed
RistrettoPoint
alongside its matching CompressedRistretto
,
which helps several protocols avoid duplicate ristretto compressions
and/or decompressions.
Structs§
- A
RistrettoBoth
contains both an uncompressedRistrettoPoint
as well as the correspondingCompressedRistretto
. It provides a convenient middle ground for protocols that both hash compressed points to derive scalars for use with uncompressed points.
Constants§
- Compressed Ristretto point length