mirror of
https://github.com/emn178/js-sha3.git
synced 2026-08-12 19:41:36 +08:00
* Support to output Integer Array.
* Fixed shake output incorrect when it's greater than 1088.
This commit is contained in:
@@ -45,6 +45,9 @@ shake_256('Message to hash', 512);
|
||||
|
||||
// Support ArrayBuffer output
|
||||
var buffer = keccak_224.buffer('Message to hash');
|
||||
|
||||
// Support Array output
|
||||
var buffer = keccak_224.array('Message to hash');
|
||||
```
|
||||
If you use node.js, you should require the module first:
|
||||
```JavaScript
|
||||
|
||||
Reference in New Issue
Block a user