before method

Uint8List before()

Implementation

Uint8List before() {
  if (this._sharedKey == null) {
    this._sharedKey = Uint8List(sharedKeyLength);
    TweetNaclFast.crypto_box_beforenm(
        this._sharedKey, this._theirPublicKey, this._mySecretKey);
  }

  return this._sharedKey;
}