broadfield-dev commited on
Commit
7b2cec6
·
verified ·
1 Parent(s): a6eb2c8

Create server.md

Browse files
Files changed (1) hide show
  1. server/server.md +14 -0
server/server.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # KeyLock Server
2
+
3
+ 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.
4
+
5
+ ## Functionality
6
+ - **Hosts a UI**: Provides documentation and status information.
7
+ - **Exposes an API**: Listens for `POST` requests at `/run/keylock-auth-decoder`.
8
+ - **Secure Decryption**: Uses a private RSA key to decrypt a one-time AES key, which is then used to decrypt the main data payload.
9
+
10
+ ## Setup & Running
11
+
12
+ **1. Install Dependencies:**
13
+ ```bash
14
+ pip install -r requirements.txt