change to universal hashes
This commit is contained in:
1 parent
f11ff5a727
commit
44e5985630
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable camelcase */
|
||||
const sha512 = require('sha512-wasm')
|
||||
const sha512 = require('sha512-universal')
|
||||
const assert = require('nanoassert')
|
||||
|
||||
if (new Uint16Array([1])[0] !== 1) throw new Error('Big endian architecture is not supported.')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable camelcase */
|
||||
const sha256 = require('sha256-wasm')
|
||||
const sha256 = require('sha256-universal')
|
||||
const assert = require('nanoassert')
|
||||
|
||||
if (new Uint16Array([1])[0] !== 1) throw new Error('Big endian architecture is not supported.')
|
||||
|
||||
Reference in new issue
Block a user