Skip to content

Commit 8023e75

Browse files
Merge pull request #4 from vizmo-vms/fix-cryptoUtil-import-bug
2 parents 71e914e + 1e11aea commit 8023e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cryptoUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ export function md5Hash(string: string): string {
4747
}
4848

4949
export function sha256Hash(string: string): string {
50-
return crypto.createHash('sha256').update(string).digest('hex');
50+
return createHash('sha256').update(string).digest('hex');
5151
}

0 commit comments

Comments
 (0)