Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
let
ready = false;
15
16
export
async
function
initEncryption(): Promise<void> {
17
if
(ready)
return
;
18
await
sodium.ready;
19
ready = true;
20
}
21
22
// --- Base64 helpers ---
23
Callers
5
App
Function · 0.90
handleNewAccount
Function · 0.90
handleExistingAccount
Function · 0.90
resolveCredentials
Function · 0.90
authenticate
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected