We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 230b3ca + 0edd9e3 commit 553786dCopy full SHA for 553786d
package.json
@@ -16,7 +16,7 @@
16
"node": "*"
17
},
18
"dependencies": {
19
- "browserify-aes": "0.4.0",
+ "browserify-aes": "0.6.0",
20
"browserify-sign": "2.4.0",
21
"pbkdf2-compat": "2.0.1",
22
"ripemd160": "0.2.0",
test/aes.js
@@ -11,6 +11,9 @@ test('ciphers', function (t) {
11
var out = [];
12
out.push(decrypter.update(crypter.update(data)));
13
out.push(decrypter.update(crypter.final()));
14
+ if (cipher.indexOf('gcm') > -1) {
15
+ decrypter.setAuthTag(crypter.getAuthTag());
+ }
out.push(decrypter.final());
t.equals(data.toString('hex'), Buffer.concat(out).toString('hex'));
});
0 commit comments