mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
add support for decrypting AES-ECB mode (#6476)
This commit is contained in:
@@ -115,7 +115,8 @@ describe("EncryptService", () => {
|
||||
expect(cryptoFunctionService.aesDecrypt).toBeCalledWith(
|
||||
expect.toEqualBuffer(encBuffer.dataBytes),
|
||||
expect.toEqualBuffer(encBuffer.ivBytes),
|
||||
expect.toEqualBuffer(key.encKey)
|
||||
expect.toEqualBuffer(key.encKey),
|
||||
"cbc"
|
||||
);
|
||||
|
||||
expect(actual).toEqualBuffer(decryptedBytes);
|
||||
|
||||
Reference in New Issue
Block a user