MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / encrypt

Function encrypt

src/lib/encryption.ts:5–5  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

3const cryptr = new Cryptr(process.env.ENCRYPTION_KEY!);
4
5export const encrypt = (text: string) => cryptr.encrypt(text);
6export const decrypt = (text: string) => cryptr.decrypt(text);

Callers 1

routers.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected