Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hashing #73

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Update hashing #73

merged 3 commits into from
Sep 17, 2024

Conversation

shgysk8zer0
Copy link
Owner

Added

  • Add exports to package
  • Add .test.js / node --test testing

Changed

  • Update hashing output to use Uint8Array.prototype.(toHex|toBase64)
  • Update md5() to use ArrayBuffer-based techniquess and be consistent with crypto.subtle.digest
  • The hash() function now supports a wider variety if inputs/data

Description and issue

List of significant changes made

### Added
- Add `exports` to package
- Add `.test.js` / `node --test` testing

### Changed
- Update hashing output to use `Uint8Array.prototype.(toHex|toBase64)`
- Update `md5()` to use `ArrayBuffer`-based techniquess and be consistent with `crypto.subtle.digest`
- The `hash()` function now supports a wider variety if inputs/data
@shgysk8zer0 shgysk8zer0 added the enhancement New feature or request label Sep 17, 2024
@shgysk8zer0 shgysk8zer0 self-assigned this Sep 17, 2024
@shgysk8zer0 shgysk8zer0 merged commit e169be7 into master Sep 17, 2024
7 checks passed
@shgysk8zer0 shgysk8zer0 deleted the patch/hashing branch September 17, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant