Files
skills-here-run-place/node_modules/uncrypto/dist/crypto.web.mjs
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

16 lines
348 B
JavaScript

const webCrypto = globalThis.crypto;
const subtle = webCrypto.subtle;
const randomUUID = () => {
return webCrypto.randomUUID();
};
const getRandomValues = (array) => {
return webCrypto.getRandomValues(array);
};
const _crypto = {
randomUUID,
getRandomValues,
subtle
};
export { _crypto as default, getRandomValues, randomUUID, subtle };