initial commit
This commit is contained in:
8
server/node_modules/jose/dist/node/esm/runtime/webcrypto.js
generated
vendored
Normal file
8
server/node_modules/jose/dist/node/esm/runtime/webcrypto.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as crypto from 'crypto';
|
||||
import * as util from 'util';
|
||||
const webcrypto = crypto.webcrypto;
|
||||
export default webcrypto;
|
||||
export const isCryptoKey = util.types.isCryptoKey
|
||||
? (key) => util.types.isCryptoKey(key)
|
||||
:
|
||||
(key) => false;
|
||||
Reference in New Issue
Block a user