mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Merge branch 'sea' of https://github.com/mhelander/gun into sea
This commit is contained in:
commit
b8872aa22d
2
sea.js
2
sea.js
@ -326,7 +326,7 @@
|
||||
|
||||
;USE(function(module){
|
||||
// This internal func returns SHA-1 hashed data for KeyID generation
|
||||
const { ossl = subtle } = USE('./webcrypto')
|
||||
const { subtle, ossl = subtle } = USE('./webcrypto')
|
||||
const sha1hash = (b) => ossl.digest('SHA-1', new ArrayBuffer(b))
|
||||
module.exports = sha1hash
|
||||
})(USE, './sha1');
|
||||
|
Loading…
x
Reference in New Issue
Block a user