asPoint static method

EDPoint asPoint(
  1. List<int> point
)

convert valid ed25519 to EDPoint.

Implementation

static EDPoint asPoint(List<int> point) {
  try {
    return EDPoint.fromBytes(curve: Curves.curveEd25519, data: point);
  } catch (e) {
    throw CryptoException("Invalid ED25519 point bytes.");
  }
}