Now version 2.0.1, I guess.

This commit is contained in:
Aaron D. Lee
2025-12-28 00:07:04 -05:00
parent 5c6f86a12c
commit 1538943451
5 changed files with 30 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ Host: localhost:8000
```json
{
"version": "2.0.0",
"version": "2.0.1",
"has_argon2": true,
"day_names": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
}
@@ -271,7 +271,8 @@ Content-Type: application/json
#### cURL Example
REF_B64=$(base64 -w0 reference.jpg)
```bash
# Prepare base64-encoded images
REF_B64=$(base64 -w0 reference.jpg)
CARRIER_B64=$(base64 -w0 carrier.png)
@@ -282,7 +283,8 @@ Content-Type: application/json
\"reference_photo_base64\": \"$REF_B64\",
\"carrier_image_base64\": \"$CARRIER_B64\",
\"day_phrase\": \"apple forest thunder\",
}" | jq -r '.stego_image_base64' | base64 -d > stego.png
\"pin\": \"123456\"
}" | jq -r '.stego_image_base64' | base64 -d > stego.png
```
---
@@ -360,6 +362,9 @@ Content-Type: image/png
--output stego.png
```
**With RSA key:**
```bash
curl -X POST http://localhost:8000/encode/multipart \
-F "message=Secret message" \
-F "day_phrase=apple forest thunder" \
-F "rsa_key=@mykey.pem" \
@@ -624,7 +629,8 @@ curl -X POST http://localhost:8000/image/info \
"message": "string"
}
```
### ImageInfoResponse
### ImageInfoResponse
```json
{