Commit Graph
32 Commits
Author SHA1 Message Date
Yi-Cyuan Chen fb7e6403d9 Added
- AMD support.
- support for web worker. #13

Changed
- throw error if input type is incorrect when cSHAKE and KMAC.
- freeze hash after finalize.
v0.7.0
2017-12-01 21:04:32 +08:00
Chen, Yi-Cyuan c43f9d1d18 update package v0.6.1 2017-07-03 09:01:22 +08:00
emn178andGitHub 94a2758bf7 Merge pull request #12 from isaactorresmichel/isaactorresmichel-fixfortypo
Typo on variable kmac_256 type definition.
2017-07-02 07:19:42 +08:00
Isaac Torres MichelandGitHub 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.
2017-06-29 08:48:28 -05:00
Chen, Yi-Cyuan e9084afbdf Added
- cSHAKE method.
- KMAC method.
- alias methods without underscore like shake128, keccak512.

Changed
- throw error if input type is incorrect.
v0.6.0
2017-06-15 11:07:11 +08:00
Chen, Yi-Cyuan 5d6193d7f2 Fixed ArrayBuffer detection in old browsers. v0.5.7 2016-12-30 10:17:55 +08:00
Chen, Yi-Cyuan 8ae70989ae Fixed ArrayBuffer dosen't work in Webpack. 2016-12-29 09:31:53 +08:00
emn178andGitHub 035642212a Merge pull request #10 from happylynx/arraybuffer-fix
webpack & ArrayBuffer argument fix
2016-12-29 08:48:13 +08:00
happylynx 9f8c2a3fb3 Fix of recognition of ArrayBuffer parameters
If js-sha3 is loaded using 'webpack' loader then the top-most
fuction is not called with global object (`global` in node,
`window` in browsers) and thus `root.ArrayBuffer` is undefined.

This patch introduces usage of `ArrayBuffer` without `root`
prefix similary to how e.g. `Uint8Array` is already used.
2016-12-27 20:18:36 +01:00
happylynx ec2a9948f9 Test of non-empty ArrayBuffer added 2016-12-27 20:02:45 +01:00
Yi-Cyuan f34e33dc99 update README 2016-09-26 10:55:14 +08:00
Yi-Cyuan 97e70fed97 Added
- TypeScript support.
- ArrayBuffer method.
Deprecated
- Buffer method.
v0.5.5
2016-09-26 10:46:34 +08:00
Chen Yi-Cyuan bb08d1fc64 Added CommonJS detection. v0.5.4 2016-09-12 20:07:58 +08:00
Chen, Yi-Cyuan f0ff77ca47 Added some files to npm package. v0.5.3 2016-09-08 10:47:31 +08:00
Yi-Cyuan 06a3fa8f52 * Fixed shake output incorrect in the special length. v0.5.2 2016-06-06 11:23:18 +08:00
Yi-Cyuan f22d720caa Update package.json and bower.json. v0.5.1 2015-10-27 14:34:23 +08:00
emn178 63f2823f49 Merge pull request #6 from adon-at-work/patch-1
Minor fix: declaring i in Keccak
2015-10-01 09:55:05 +08:00
adon fbedaa1f4c declaring i in Keccak 2015-09-28 16:13:39 -07:00
Yi-Cyuan 09db28deed Support update interface. v0.5.0 2015-09-23 17:13:07 +08:00
Yi-Cyuan ca56f2ac21 * Support to output Integer Array.
* Fixed shake output incorrect when it's greater than 1088.
v0.4.1
2015-09-18 16:29:07 +08:00
Yi-Cyuan 99d724b22a update README 2015-09-17 15:17:52 +08:00
Yi-Cyuan 63a860bdf9 fixed travis-ci config 2015-09-17 15:09:07 +08:00
Yi-Cyuan 7423f9ef37 add shake algorithm 2015-09-17 14:57:12 +08:00
Yi-Cyuan 61300d2d34 array buffer output 2015-09-17 11:39:36 +08:00
Chen Yi-Cyuan 0d1753fd8d Fixed bugs v0.3.1 2015-05-22 18:14:34 +08:00
Chen Yi-Cyuan 7851f7ad68 Support byte array and ArrayBuffer input. v0.3.0 2015-05-21 19:28:19 +08:00
Chen Yi-Cyuan db3ab779a8 update README 2015-04-05 09:29:18 +08:00
Chen Yi-Cyuan 372541684a update README v0.2.0 2015-04-04 22:11:23 +08:00
Chen Yi-Cyuan 1fa1812d86 * Implement NIST's May 2014 SHA-3 version.
* Rename original methods to keccak.
2015-04-04 22:04:00 +08:00
Chen Yi-Cyuan e686ac6177 Improve performance. v0.1.2 2015-02-27 16:45:54 +08:00
Chen Yi-Cyuan 87364f594b Improve performance. 2015-02-26 10:35:13 +08:00
Chen Yi-Cyuan b249e417a7 Initial release v0.1.0 2015-02-23 18:23:14 +08:00