scalseMult_base static method

Uint8List scalseMult_base(
  1. Uint8List n
)

Implementation

static Uint8List scalseMult_base(Uint8List n) {
  if (!(n.length == scalarLength)) return null;

  Uint8List q = Uint8List(scalarLength);

  TweetNaclFast.crypto_scalarmult_base(q, n);

  return q;
}