6 lines
201 B
Plaintext
6 lines
201 B
Plaintext
|
import * as crypto from 'node:crypto';
|
||
|
import * as util from 'node:util';
|
||
|
const webcrypto = crypto.webcrypto;
|
||
|
export default webcrypto;
|
||
|
export const isCryptoKey = (key) => util.types.isCryptoKey(key);
|