Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/slopus/happy
/ encryption.test.ts
File
encryption.test.ts
packages/happy-agent/src/encryption.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect } from
'vitest'
;
2
import
tweetnacl from
'tweetnacl'
;
3
import
{
4
encodeBase64,
Callers
nothing calls this directly
Calls
15
encodeBase64
Function · 0.90
decodeBase64
Function · 0.90
encodeBase64Url
Function · 0.90
decodeBase64Url
Function · 0.90
hmac_sha512
Function · 0.90
deriveSecretKeyTreeRoot
Function · 0.90
deriveKey
Function · 0.90
deriveSecretKeyTreeChild
Function · 0.90
getRandomBytes
Function · 0.90
deriveContentKeyPair
Function · 0.90
encryptWithDataKey
Function · 0.90
decryptWithDataKey
Function · 0.90
Tested by
no test coverage detected