Spaces:
Running
Running
Download src/utils/security.js from tung14/deepsite-project: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/spaces/tung14/deepsite-project/resolve/main/src/utils/security.js
- Command line
-
hf download hf://spaces/tung14/deepsite-project/src/utils/security.js
-
curl -L -o security.js https://huggingface.co/spaces/tung14/deepsite-project/resolve/main/src/utils/security.js
239 Bytes
| ```javascript | |
| export function encryptInput(input) { | |
| // In a real app, implement proper encryption | |
| return btoa(input) | |
| } | |
| export function decryptOutput(output) { | |
| // In a real app, implement proper decryption | |
| return atob(output) | |
| } | |
| ``` |