decrypt static method
Decrypts LRTC-formatted bytes and returns the plaintext.
Throws DecryptionFailedException on a wrong key or tampered data.
Implementation
static Future<Uint8List> decrypt(Uint8List bytes, Uint8List key) {
return decryptEnvelope(LrtcEnvelope.parse(bytes), key);
}