decryptString static method
Verifies and decrypts a cipher text produced by encrypt.
Implementation
static String decryptString(Uint8List cipherText, Uint8List nonce,
Uint8List publicKey, Uint8List secretKey) {
final m = decrypt(cipherText, nonce, publicKey, secretKey);
return utf8.decode(m);
}