feat: enhance zero-knowledge authentication by deriving and sending auth hashes to the server

This commit is contained in:
ramvignesh-b
2026-04-14 22:44:42 +05:30
parent 3e5dbbe3f3
commit 967b3a77f8
10 changed files with 146 additions and 79 deletions
+2 -1
View File
@@ -23,10 +23,11 @@ describe("letterLogic image helpers", () => {
let crypto: CryptoUtils;
beforeEach(async () => {
masterKey = await CryptoUtils.deriveMasterKey(
const keyBundle = await CryptoUtils.deriveKeyBundle(
"password123",
"test@example.com",
);
masterKey = keyBundle.masterKey;
crypto = new CryptoUtils();
await crypto.initialize();
vi.clearAllMocks();