PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
16 lines
348 B
JavaScript
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 };
|