tandem_http_server 0.3.0

HTTP server for the Tandem SMPC engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rocket::serde::{Deserialize, Serialize};
use tandem::CircuitBlake3Hash;

#[derive(Serialize, Deserialize, Debug)]
#[serde(crate = "rocket::serde")]
pub struct NewSession {
    pub plaintext_metadata: String,
    pub program: String,
    pub function: String,
    pub circuit_hash: CircuitBlake3Hash,
    pub client_version: String,
}