woops ... actually check that output is correct

This commit is contained in:
Ryan X. Charles 2014-08-27 15:57:46 -07:00
parent ed826bf95c
commit ae02a878dd
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ describe('CBC', function() {
var blockcipher = AES;
var encbuf = CBC.encrypt(messagebuf, ivbuf, blockcipher, cipherkeybuf);
var buf2 = CBC.decrypt(encbuf, ivbuf, blockcipher, cipherkeybuf);
buf2.toString('hex').should.equal(messagebuf.toString('hex'));
});
});