Skip to content

Commit

Permalink
Bump @noble/hashes from 1.6.1 to 1.7.0 (#1072)
Browse files Browse the repository at this point in the history
* Bump @noble/hashes from 1.6.1 to 1.7.0

Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Commits](paulmillr/noble-hashes@1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix type of turboshake128

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Cook <[email protected]>
  • Loading branch information
dependabot[bot] and divergentdave authored Jan 3, 2025
1 parent 8ce304d commit 1c424fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/xof/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@divviup/common": "^0.2.2",
"@divviup/field": "^0.2.1",
"@noble/hashes": "^1.6.1",
"@noble/hashes": "^1.7.0",
"jssha": "^3.3.1"
}
}
2 changes: 1 addition & 1 deletion packages/xof/src/turboshake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Keccak } from "@noble/hashes/sha3";

export const XofTurboShake128: XofConstructor = class XofTurboShake128 extends Xof {
static seedSize = 16;
#hash: HashXOF<HashXOF<Keccak>>;
#hash: HashXOF<HashXOF<HashXOF<Keccak>>>;

constructor(seed: Uint8Array, dst: Uint8Array, binder: Uint8Array) {
super();
Expand Down

0 comments on commit 1c424fd

Please sign in to comment.