before method

Uint8List before()

Implementation

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

  return _sharedKey!;
}