MCPcopy Create free account
hub / github.com/ConsortiumAI/Consortium / initEncryption

Function initEncryption

packages/consortium-web/src/lib/encryption.ts:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14let ready = false;
15
16export async function initEncryption(): Promise<void> {
17 if (ready) return;
18 await sodium.ready;
19 ready = true;
20}
21
22// --- Base64 helpers ---
23

Callers 5

AppFunction · 0.90
handleNewAccountFunction · 0.90
handleExistingAccountFunction · 0.90
resolveCredentialsFunction · 0.90
authenticateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected