dependabot[bot]
6efde1cf1b
Bump @babel/traverse from 7.21.2 to 7.23.2 ( #35 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.21.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Yi-Cyuan Chen
a6f6da7483
### Fixed
...
- Fix error in arrayBuffer when there are extra bytes #37
- fixed output if finalized.
2 years ago
iatll
707ee7ced1
Fix error in arrayBuffer when there are extra bytes ( #37 )
2 years ago
Yi-Cyuan Chen
59caf17eca
bump version
2 years ago
legobeat
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
2 years ago
Yi-Cyuan Chen
f293b5d508
## v0.9.1 / 2023-08-31
...
### Fixed
- cSHAKE empty Array bug. #24
2 years ago
Yi-Cyuan Chen
dbb0ea401f
## v0.9.0 / 2023-08-30
...
### Fixed
- cSHAKE bug. #24
- dependencies and security issues.
2 years ago
dependabot[bot]
5aecbd6968
Bump minimist, mocha and nyc ( #28 )
...
Removes [minimist](https://github.com/minimistjs/minimist ). It's no longer used after updating ancestor dependencies [minimist](https://github.com/minimistjs/minimist ), [mocha](https://github.com/mochajs/mocha ) and [nyc](https://github.com/istanbuljs/nyc ). These dependencies need to be updated together.
Removes `minimist`
Updates `mocha` from 2.3.4 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/2.3.4...v10.2.0 )
Updates `nyc` from 11.3.0 to 15.1.0
- [Release notes](https://github.com/istanbuljs/nyc/releases )
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/istanbuljs/nyc/compare/v11.3.0...v15.1.0 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
- dependency-name: nyc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Yi-Cyuan Chen
b39d0910cb
- Added TypeScript definitions.
...
- Changed throw error if update after finalize
7 years ago
Micah Zoltu
1c00d97268
Adds arrayBuffer and buffer definitions. ( #16 )
...
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
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.
8 years ago
Chen, Yi-Cyuan
c43f9d1d18
update package
8 years ago
emn178
94a2758bf7
Merge pull request #12 from isaactorresmichel/isaactorresmichel-fixfortypo
...
Typo on variable kmac_256 type definition.
8 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
Chen, Yi-Cyuan
5d6193d7f2
Fixed ArrayBuffer detection in old browsers.
9 years ago
Chen, Yi-Cyuan
8ae70989ae
Fixed ArrayBuffer dosen't work in Webpack.
9 years ago
emn178
035642212a
Merge pull request #10 from happylynx/arraybuffer-fix
...
webpack & ArrayBuffer argument fix
9 years ago
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.
9 years ago
happylynx
ec2a9948f9
Test of non-empty ArrayBuffer added
9 years ago
Yi-Cyuan
f34e33dc99
update README
9 years ago
Yi-Cyuan
97e70fed97
Added
...
- TypeScript support.
- ArrayBuffer method.
Deprecated
- Buffer method.
9 years ago
Chen Yi-Cyuan
bb08d1fc64
Added CommonJS detection.
9 years ago
Chen, Yi-Cyuan
f0ff77ca47
Added some files to npm package.
9 years ago
Yi-Cyuan
06a3fa8f52
* Fixed shake output incorrect in the special length.
9 years ago
Yi-Cyuan
f22d720caa
Update package.json and bower.json.
10 years ago
emn178
63f2823f49
Merge pull request #6 from adon-at-work/patch-1
...
Minor fix: declaring i in Keccak
10 years ago
adon
fbedaa1f4c
declaring i in Keccak
10 years ago
Yi-Cyuan
09db28deed
Support update interface.
10 years ago
Yi-Cyuan
ca56f2ac21
* Support to output Integer Array.
...
* Fixed shake output incorrect when it's greater than 1088.
10 years ago
Yi-Cyuan
99d724b22a
update README
10 years ago
Yi-Cyuan
63a860bdf9
fixed travis-ci config
10 years ago
Yi-Cyuan
7423f9ef37
add shake algorithm
10 years ago
Yi-Cyuan
61300d2d34
array buffer output
10 years ago
Chen Yi-Cyuan
0d1753fd8d
Fixed bugs
10 years ago
Chen Yi-Cyuan
7851f7ad68
Support byte array and ArrayBuffer input.
10 years ago
Chen Yi-Cyuan
db3ab779a8
update README
10 years ago
Chen Yi-Cyuan
372541684a
update README
10 years ago
Chen Yi-Cyuan
1fa1812d86
* Implement NIST's May 2014 SHA-3 version.
...
* Rename original methods to keccak.
10 years ago
Chen Yi-Cyuan
e686ac6177
Improve performance.
11 years ago
Chen Yi-Cyuan
87364f594b
Improve performance.
11 years ago
Chen Yi-Cyuan
b249e417a7
Initial release
11 years ago