decryptAesGcm static method
Decriptografa payload (AES-GCM) e retorna os bytes originais.
Lança CryptException se a tag GCM for inválida.
Implementation
static List<int> decryptAesGcm(EncryptedPayload payload) =>
AesGcm(
key: payload.key,
nonce: payload.nonce,
aad: payload.aad,
).decrypt(payload);