Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3
const
cryptr =
new
Cryptr(process.env.ENCRYPTION_KEY!);
4
5
export
const
encrypt = (text: string) => cryptr.encrypt(text);
6
export
const
decrypt = (text: string) => cryptr.decrypt(text);
Callers
1
routers.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected