Commit Graph

4 Commits (8702f6502b6fddb13ff3a8f220cb1602b56489d5)

Author SHA1 Message Date
Micah Zoltu 8702f6502b
Adds arrayBuffer and buffer definitions.
This is based entirely on the examples in the readme.  If the examples in the readme are incorrect then this definition is also incorrect.
7 years ago
Isaac Torres Michel 540bbee16b Typo on variable kmac_256 type definition.
Typescript definition file has a typo on variable kmac_256 class type. Typ definition was not in PascalCase format. So when the file is used throws an "/js-sha3/index.d.ts (166,22): Cannot find name 'kmacHash'" error.
8 years ago
Chen, Yi-Cyuan e9084afbdf Added
- cSHAKE method.
- KMAC method.
- alias methods without underscore like shake128, keccak512.

Changed
- throw error if input type is incorrect.
8 years ago
Yi-Cyuan 97e70fed97 Added
- TypeScript support.
- ArrayBuffer method.
Deprecated
- Buffer method.
9 years ago