Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
16
Frontend-Learner/node_modules/uncrypto/dist/crypto.node.mjs
generated
vendored
Normal file
16
Frontend-Learner/node_modules/uncrypto/dist/crypto.node.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import nodeCrypto from 'node:crypto';
|
||||
|
||||
const subtle = nodeCrypto.webcrypto?.subtle || {};
|
||||
const randomUUID = () => {
|
||||
return nodeCrypto.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return nodeCrypto.webcrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
export { _crypto as default, getRandomValues, randomUUID, subtle };
|
||||
Loading…
Add table
Add a link
Reference in a new issue