Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Resolving issue with encoding argument (release/21.0.x) #786

Merged
merged 4 commits into from
Aug 11, 2020

Conversation

bradlhart
Copy link
Contributor

Change Description

Encoding with hashing methods is currently broken. If you add the encoding argument to the sign/recover/verify methods, the data will be blanked out by hash.js as the encoding argument is not a part of that library. Adjusting code to use encoding before hashing by creating a Buffer from the data with the encoding if the data is a string.

Resolves #781

Second PR to cherry pick commits to release/21.0.x branch

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@bradlhart bradlhart merged commit 19ca38e into release/21.0.x Aug 11, 2020
@bradlhart bradlhart deleted the hashing_fix_21.0.x branch August 11, 2020 14:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants