encryptStringDetached static method
Encrypts a string message with a key and a nonce, returning the encrypted message and authentication tag
Implementation
static DetachedCipher encryptStringDetached(String value, Uint8List nonce,
Uint8List publicKey, Uint8List secretKey) =>
encryptDetached(utf8.encoder.convert(value), nonce, publicKey, secretKey);