- AMD support.
- support for web worker. #13

Changed
- throw error if input type is incorrect when cSHAKE and KMAC.
- freeze hash after finalize.
This commit is contained in:
Yi-Cyuan Chen
2017-12-01 21:04:32 +08:00
parent c43f9d1d18
commit fb7e6403d9
17 changed files with 2296 additions and 292 deletions
+1
View File
@@ -27,6 +27,7 @@
it('should be equal', function () {
expect(shake128('', 16)).to.be('7f9c');
expect(shake128('', 24)).to.be('7f9c2b');
expect(shake128.array('', 8)).to.eql([0x7f]);
expect(shake128.array('', 16)).to.eql([0x7f, 0x9c]);
expect(shake128.array('', 24)).to.eql([0x7f, 0x9c, 0x2b]);
});