encrypt static method
Encrypts a message with a key and a nonce.
Implementation
static Uint8List encrypt(Uint8List value, Uint8List nonce,
Uint8List publicKey, Uint8List secretKey) =>
Sodium.cryptoBoxEasy(value, nonce, publicKey, secretKey);