2025-06-21 23:30:33 +03:00

8 lines
227 B
JavaScript

export const subtle = globalThis.crypto?.subtle;
export const randomUUID = () => {
return globalThis.crypto?.randomUUID();
};
export const getRandomValues = (array) => {
return globalThis.crypto?.getRandomValues(array);
};