Struct safe_zk_token_sdk::encryption::pedersen::G
source · pub struct G { /* private fields */ }
Expand description
Pedersen base point for encoding messages to be committed.
Methods from Deref<Target = RistrettoPoint>§
sourcepub fn compress(&self) -> CompressedRistretto
pub fn compress(&self) -> CompressedRistretto
Compress this point using the Ristretto encoding.
Trait Implementations§
source§impl Deref for G
impl Deref for G
§type Target = RistrettoPoint
type Target = RistrettoPoint
The resulting type after dereferencing.
source§fn deref(&self) -> &RistrettoPoint
fn deref(&self) -> &RistrettoPoint
Dereferences the value.