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