Yi-Cyuan Chen
951408a3aa
- support ESM #42 , #38
...
- types index.d.ts to package.json #32
2026-07-17 16:28:36 +08:00
gkgoat and GitHub
83e468af79
support ESM ( #42 )
...
* support ESM
* Optimize
2026-07-17 15:44:06 +08:00
Yi-Cyuan Chen
a6f6da7483
### Fixed
...
- Fix error in arrayBuffer when there are extra bytes #37
- fixed output if finalized.
2023-12-16 10:15:26 +08:00
iatll and GitHub
707ee7ced1
Fix error in arrayBuffer when there are extra bytes ( #37 )
2023-12-16 09:42:22 +08:00
Yi-Cyuan Chen
59caf17eca
bump version
2023-09-16 21:32:37 +08:00
legobeat and GitHub
d6325442bd
refactor: simplify formatMessage internal logic ( #34 )
...
* fix: don't modify global Array and ArrayBuffer prototypes
* wip: simplify formatMessage
* wip: simplify formatMessage internal logic
* wip: simplify formatMessage internal logic
* wip: simplify formatMessage internal logic
* refactor: simplify formatMessage internal logic
* formatMessage: remove double-negation: now returns istring instead of notString
* refactor: remove double-negation of isString
* refactor: remove double-negation of isString
* add comment on formatMessage return type
2023-09-16 21:23:54 +08:00
Yi-Cyuan Chen
f293b5d508
## v0.9.1 / 2023-08-31
...
### Fixed
- cSHAKE empty Array bug. #24
2023-08-31 09:23:33 +08:00
Yi-Cyuan Chen
dbb0ea401f
## v0.9.0 / 2023-08-30
...
### Fixed
- cSHAKE bug. #24
- dependencies and security issues.
2023-08-30 23:39:16 +08:00
Yi-Cyuan Chen
b39d0910cb
- Added TypeScript definitions.
...
- Changed throw error if update after finalize
2018-08-05 15:33:12 +08:00
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.
2017-12-01 21:04:32 +08:00
Chen, Yi-Cyuan
c43f9d1d18
update package
2017-07-03 09:01:22 +08: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.
2017-06-15 11:07:11 +08:00
Chen, Yi-Cyuan
5d6193d7f2
Fixed ArrayBuffer detection in old browsers.
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
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
Yi-Cyuan
97e70fed97
Added
...
- TypeScript support.
- ArrayBuffer method.
Deprecated
- Buffer method.
2016-09-26 10:46:34 +08:00
Chen Yi-Cyuan
bb08d1fc64
Added CommonJS detection.
2016-09-12 20:07:58 +08:00
Chen, Yi-Cyuan
f0ff77ca47
Added some files to npm package.
2016-09-08 10:47:31 +08:00
Yi-Cyuan
06a3fa8f52
* Fixed shake output incorrect in the special length.
2016-06-06 11:23:18 +08:00
Yi-Cyuan
f22d720caa
Update package.json and bower.json.
2015-10-27 14:34:23 +08:00
adon
fbedaa1f4c
declaring i in Keccak
2015-09-28 16:13:39 -07:00
Yi-Cyuan
09db28deed
Support update interface.
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.
2015-09-18 16:29: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
2015-05-22 18:14:34 +08:00
Chen Yi-Cyuan
7851f7ad68
Support byte array and ArrayBuffer input.
2015-05-21 19:28:19 +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.
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
2015-02-23 18:23:14 +08:00