x25519 method

  1. @override
X25519 x25519()

A factory used by X25519.

Implementation

@override
X25519 x25519() {
  if (kIsWeb) {
    return super.x25519();
  }
  return _x25519 ??= _chooseX25519();
}