change to universal hashes

This commit is contained in:
Christophe Diederichs
2020-07-13 14:53:38 +02:00
committed by Emil Bay
parent f11ff5a727
commit 44e5985630
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -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.')