mirror of
https://github.com/emn178/js-sha3.git
synced 2026-11-18 16:38:46 +08:00
- Incorrect hash for `DataView` input, and for `Int8Array` with negative values. - Throws `ArrayBuffer is not defined` in browsers without `ArrayBuffer`. - Throws `global is not defined` in browsers with a `process` polyfill (e.g. BrowserFS) and Electron renderers. ### Changed - Multi-byte typed arrays such as `Uint16Array`, `Uint32Array` and `Float32Array` are now hashed by their underlying bytes, the same as Node.js `crypto` and Web Crypto. Previously each element was treated as one byte. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>