broadfield-dev's picture
Create server.md
7b2cec6 verified
# KeyLock Server
This is the server-side component of the KeyLock system. It's a self-contained Gradio application that provides a secure API endpoint for decrypting data hidden in PNG images.
## Functionality
- **Hosts a UI**: Provides documentation and status information.
- **Exposes an API**: Listens for `POST` requests at `/run/keylock-auth-decoder`.
- **Secure Decryption**: Uses a private RSA key to decrypt a one-time AES key, which is then used to decrypt the main data payload.
## Setup & Running
**1. Install Dependencies:**
```bash
pip install -r requirements.txt