change to universal hashes
This commit is contained in:
parent
f11ff5a727
commit
44e5985630
@ -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.')
|
||||
|
Loading…
Reference in New Issue
Block a user