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.
12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
import { createKey, encodeKey } from "../../../core/encryption.js";
|
|
class CryptoKeyGenerator {
|
|
async generate() {
|
|
const key = await createKey();
|
|
const encoded = await encodeKey(key);
|
|
return encoded;
|
|
}
|
|
}
|
|
export {
|
|
CryptoKeyGenerator
|
|
};
|