Expand description

Ristretto point tooling

We provide a RistrettoBoth type that contains both an uncompressed RistrettoPoint along side its matching CompressedRistretto, which helps several protocols avoid duplicate ristretto compressions and/or decompressions.

Structs

A RistrettoBoth contains both an uncompressed RistrettoPoint as well as the corresponding CompressedRistretto. 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