MCPcopy
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

1import { describe, it, expect } from 'vitest';
2import tweetnacl from 'tweetnacl';
3import {
4 encodeBase64,

Callers

nothing calls this directly

Calls 15

encodeBase64Function · 0.90
decodeBase64Function · 0.90
encodeBase64UrlFunction · 0.90
decodeBase64UrlFunction · 0.90
hmac_sha512Function · 0.90
deriveSecretKeyTreeRootFunction · 0.90
deriveKeyFunction · 0.90
deriveSecretKeyTreeChildFunction · 0.90
getRandomBytesFunction · 0.90
deriveContentKeyPairFunction · 0.90
encryptWithDataKeyFunction · 0.90
decryptWithDataKeyFunction · 0.90

Tested by

no test coverage detected