Files
echo-nexus/node_modules/lib0/webcrypto.node.js
T

5 lines
195 B
JavaScript

import { webcrypto } from 'node:crypto'
export const subtle = /** @type {any} */ (webcrypto).subtle
export const getRandomValues = /** @type {any} */ (webcrypto).getRandomValues.bind(webcrypto)