diff --git a/package-lock.json b/package-lock.json index b5bd9b9b3..2db915c91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -943,10 +943,9 @@ } }, "node_modules/@noble/hashes": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz", - "integrity": "sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==", - "license": "MIT", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.7.0.tgz", + "integrity": "sha512-HXydb0DgzTpDPwbVeDGCG1gIu7X6+AuU6Zl6av/E/KG8LMsvPntvq+w17CHRpKBmN6Ybdrt1eP3k4cj8DJa78w==", "engines": { "node": "^14.21.3 || >=16" }, @@ -4592,7 +4591,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" } } diff --git a/packages/xof/package.json b/packages/xof/package.json index 1b003a3d0..edfd1d173 100644 --- a/packages/xof/package.json +++ b/packages/xof/package.json @@ -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" } } diff --git a/packages/xof/src/turboshake.ts b/packages/xof/src/turboshake.ts index e23092ff4..1bface160 100644 --- a/packages/xof/src/turboshake.ts +++ b/packages/xof/src/turboshake.ts @@ -6,7 +6,7 @@ import type { Keccak } from "@noble/hashes/sha3"; export const XofTurboShake128: XofConstructor = class XofTurboShake128 extends Xof { static seedSize = 16; - #hash: HashXOF>; + #hash: HashXOF>>; constructor(seed: Uint8Array, dst: Uint8Array, binder: Uint8Array) { super();