Skip to content

Commit 6862dae

Browse files
author
Calvin Metcalf
committed
add getCiphers
1 parent 5383085 commit 6862dae

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": "*"
1717
},
1818
"dependencies": {
19-
"browserify-aes": "0.7.3",
19+
"browserify-aes": "0.8.0",
2020
"create-ecdh": "1.0.1",
2121
"diffie-hellman": "2.2.2",
2222
"browserify-sign": "2.7.1",

test/aes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ test('ciphers', function (t) {
1818
t.equals(data.toString('hex'), Buffer.concat(out).toString('hex'));
1919
});
2020
});
21+
});
22+
test('getCiphers', function (t) {
23+
t.plan(1);
24+
t.ok(crypto.getCiphers().length, 'get ciphers returns an array');
2125
});

0 commit comments

Comments
 (0)