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

Add number[] as accepted key type to Hmac.create definition #25

Closed
wants to merge 2 commits into from

Conversation

sandrolain
Copy link

Useful if you have to use as a key the result of .digest () of a previous hash in the TypeScript environment

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 61214b4 on sandrolain:master into 189bb9b on emn178:master.

emn178 added a commit that referenced this pull request Aug 30, 2023
### Fixed
- Chrome bug by workaround. #40
- deprecated `new Buffer`, replace with `Buffer.from`. #34
- dependencies and security issues. #32, #36

### Changed
- TypeScript interface, secretKey can be bytes like message. #23, #25
- remove `eval` and use `require` directly. #18, #26
@emn178
Copy link
Owner

emn178 commented Aug 30, 2023

Updated TypeScript interface in v0.10.0

@emn178 emn178 closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants