Commit Graph
9 Commits
Author SHA1 Message Date
Yi-Cyuan ChenandClaude Opus 5.5 3e1a92f2a4 ### Added
- ESM builds and package `exports`.

### Fixed
- Incorrect hash for strings with unpaired UTF-16 surrogates; they are now encoded as U+FFFD, the same as `TextEncoder`.
- Detect browsers with a `process` polyfill (e.g. BrowserFS) and Electron renderers as non-Node.js environments.

### Changed
- Replace Travis CI with GitHub Actions.
- Update dev dependencies and fix security issues.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 13:58:54 +08:00
Yi-Cyuan Chen 33acf62431 ### Added
- TypeScript interfaces. #6, #9
- HMAC feature.
- support for web worker. #14

### Fixed
- deprecated `new Buffer`, replace with `Buffer.from`. #10
- dependencies and security issues.
- refactor: simplify formatMessage internal logic.
- Generates incorrect hash in some cases.

### Changed
- remove `eval` and use `require` directly. #8
- throw error by Error oject.
- throw error if update after finalize
- use unsigned right shift.
2024-01-24 11:31:08 +08:00
Chen, Yi-Cyuan c724643de0 Fixed ArrayBuffer dosen't work in Webpack. 2016-12-30 09:56:58 +08:00
Chen, Yi-Cyuan 80d540792b Added
- update method.
- support Array output.
- support ArrayBuffer output.
- support AMD.
2016-12-05 17:00:43 +08:00
Chen Yi-Cyuan 72f01d0043 * Support byte array input.
* Remove ascii parameter.
* Improve performance.
* Add test cases.
2015-02-16 22:09:23 +08:00
emn178 c8da6f6851 * Add bower package.
* Fixed JSHint warnings.
* Add travis.
* Add coveralls.
2015-01-07 15:26:09 +08:00
Chen Yi-Cyuan 8b60638f50 add license 2014-01-05 12:58:01 +08:00
Chen Yi-Cyuan bcc167c953 support node.js 2014-01-04 16:47:04 +08:00
Chen Yi-Cyuan 9d80e2d7f0 Create project 2014-01-04 10:47:37 +08:00