pub struct RistrettoPoint(pub RistrettoPoint);
Expand description

The wrapped struct for curve25519_dalek::ristretto::RistrettoPoint

Tuple Fields§

§0: RistrettoPoint

Implementations§

Compress the point and output CompressedRistretto

Trait Implementations§

The resulting type after applying the + operator.
Performs the + operation. Read more
Performs the += operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
The scalar type
The number of bytes for a compressed representation of a group element
Return the doubling of the group element
Return the identity element (i.e., 0 * G)
Return the base element (i.e., 1 * G)
Return a random element
Convert to bytes in the compressed representation
Convert to bytes in the unchecked representation
Convert from bytes in the compressed representation
Convert from bytes in the unchecked representation
Return the size of unchecked bytes.
Sample a group element based on a hash value
Compute the multiscalar multiplication
The resulting type after applying the * operator.
Performs the * operation. Read more
The resulting type after applying the - operator.
Performs the unary - operation. Read more
convert to bytes
reconstruct from bytes
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Return the generator for the value part.
Return the generator for the blinding part.
Compute the Pedersen commitment over the Ristretto group.
Serialize this value into the given Serde serializer. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
Performs the -= operation. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Completely overwrites this value.
Checks if this value is equivalent to the given key. Read more

Returns the argument unchanged.

Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.