Returns true if pubkey falls on the ed25519 curve.
pubkey
ed25519
static bool isOnCurve(final Uint8List pubkey) { return nacl_low_level.isOnCurve(pubkey) == 1; }