full site update
This commit is contained in:
15
node_modules/uncrypto/dist/crypto.web.mjs
generated
vendored
Normal file
15
node_modules/uncrypto/dist/crypto.web.mjs
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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 };
|
Reference in New Issue
Block a user