feat: Add initial Electron app structure with real-time chat, user authentication, and encrypted messaging.

This commit is contained in:
bryan
2025-12-30 15:09:17 -06:00
parent f0e8d9400a
commit b26a1d0b4b
9 changed files with 682 additions and 201 deletions

View File

@@ -18,7 +18,7 @@ const Register = () => {
// 1. Generate Salt and Master Key (MK)
const salt = await window.cryptoAPI.randomBytes(16);
const mk = await window.cryptoAPI.randomBytes(16); // 128-bit MK
const mk = await window.cryptoAPI.randomBytes(32); // 256-bit MK for AES-256
console.log('Generated Salt and MK');