diff --git a/src/romulus-m.ts b/src/romulus-m.ts index 31e7b10..f43b2c6 100644 --- a/src/romulus-m.ts +++ b/src/romulus-m.ts @@ -269,7 +269,7 @@ export function cryptoAeadDecrypt (ciphertext: number[], associatedData: number[ // The authentication tag is represented by the last 16 bytes of the ciphertext. const authenticationTag = ciphertext.slice(-16) ciphertext.length -= 16 - + let state = zeroedBuffer(16) let counter = resetCounter()