Spaces:
Runtime error
Runtime error
Download server/dist/lib/crypto.d.ts from Nryn215/FreeLLMAPI: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/Nryn215/FreeLLMAPI/resolve/main/server/dist/lib/crypto.d.ts
- Command line
-
hf download hf://spaces/Nryn215/FreeLLMAPI/server/dist/lib/crypto.d.ts
-
curl -L -o crypto.d.ts https://huggingface.co/spaces/Nryn215/FreeLLMAPI/resolve/main/server/dist/lib/crypto.d.ts
526 Bytes
| import Database from 'better-sqlite3'; | |
| /** | |
| * Initialize encryption key from env or an explicit local-dev fallback. | |
| * Must be called after DB is initialized. | |
| */ | |
| export declare function initEncryptionKey(db: Database.Database): void; | |
| export declare function encrypt(text: string): { | |
| encrypted: string; | |
| iv: string; | |
| authTag: string; | |
| }; | |
| export declare function decrypt(encrypted: string, iv: string, authTag: string): string; | |
| export declare function maskKey(key: string): string; | |
| //# sourceMappingURL=crypto.d.ts.map |