8000
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.
1 parent 1bbaace commit f093760Copy full SHA for f093760
test/parallel/test-crypto-ecb.js
@@ -21,13 +21,13 @@ crypto.DEFAULT_ENCODING = 'buffer';
21
var encrypt = crypto.createCipheriv('BF-ECB', 'SomeRandomBlahz0c5GZVnR', '');
22
var hex = encrypt.update('Hello World!', 'ascii', 'hex');
23
hex += encrypt.final('hex');
24
- assert.equal(hex.toUpperCase(), '6D385F424AAB0CFBF0BB86E07FFB7D71');
+ assert.strictEqual(hex.toUpperCase(), '6D385F424AAB0CFBF0BB86E07FFB7D71');
25
}());
26
27
(function() {
28
var decrypt = crypto.createDecipheriv('BF-ECB', 'SomeRandomBlahz0c5GZVnR',
29
'');
30
var msg = decrypt.update('6D385F424AAB0CFBF0BB86E07FFB7D71', 'hex', 'ascii');
31
msg += decrypt.final('ascii');
32
- assert.equal(msg, 'Hello World!');
+ assert.strictEqual(msg, 'Hello World!');
33
0 commit comments