UNPKG

195 BJavaScriptView Raw
1import { webcrypto } from 'node:crypto'
2
3export const subtle = /** @type {any} */ (webcrypto).subtle
4export const getRandomValues = /** @type {any} */ (webcrypto).getRandomValues.bind(webcrypto)