toEdwardBytes method

List<int> toEdwardBytes([
  1. EncodeType encodeType = EncodeType.comprossed
])

Converts the RistrettoPoint to a byte array in Edwards curve encoding.

This method converts the RistrettoPoint to a byte array using the specified encoding type (default is compressed). It delegates the conversion to the superclass method and returns the result.

Parameters:

  • encodeType: The encoding type for the output byte array (default is compressed).

Returns:

  • List

Implementation

List<int> toEdwardBytes([EncodeType encodeType = EncodeType.comprossed]) {
  return super.toBytes(encodeType);
}