UNPKG

@blockcerts/hashlink-verifier

Version:
11 lines (10 loc) 260 B
// WebCrypto polyfill import isomorphicCrypto from '@trust/webcrypto'; let crypto; if (typeof self !== 'undefined' && (self.crypto || self.msCrypto)) { crypto = self.crypto || self.msCrypto; } else { crypto = isomorphicCrypto; } export default crypto;