Skip to content

Commit

Permalink
[sha256] simplify export
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Aug 8, 2023
1 parent 74aa889 commit 7bbc12c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hash/sha256.fallback.js
Expand Up @@ -169,6 +169,4 @@ class Hasher {
/**
* @param {Uint8Array} data
*/
export const digest = data => {
return new Hasher().digest(data)
}
export const digest = data => new Hasher().digest(data)

0 comments on commit 7bbc12c

Please sign in to comment.