toPoint method

RistrettoPoint toPoint()

Converts the Schnorrkel public key to a RistrettoPoint point.

This method converts the Schnorrkel public key to a RistrettoPoint point, allowing further cryptographic operations.

Returns: A RistrettoPoint point representation of the Schnorrkel public key.

Example Usage:

SchnorrkelPublicKey publicKey = ...;
RistrettoPoint ristrettoPoint = publicKey.toPoint();

The toPoint method is used to convert a Schnorrkel public key to a RistrettoPoint point for cryptographic operations

Implementation

RistrettoPoint toPoint() {
  return RistrettoPoint.fromBytes(toBytes());
}