isOnCurve static method

bool isOnCurve(
  1. Uint8List pubkey
)

Returns true if pubkey falls on the ed25519 curve.

Implementation

static bool isOnCurve(final Uint8List pubkey) {
  return nacl_low_level.isOnCurve(pubkey) == 1;
}