Skip to content

INDA24PlusPlus/viering-liamt-cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptosak

Design choices

We chose to use AES-256-GCM for encryption and signing, and argon2 for key derivation. We are lazy so everything upladed to the server is stored in RAM.

Client

Commands

  • upload <file> <password>
  • retreive <id> <password> [out] (optional out parameter to specify output file)

Server

Endpoints

  • POST /file - Uploads a file (a EncFile struct serialized as JSON with serde), returns a UploadResponse struct serialized as JSON with serde
  • GET /file/<id> - Retrieves a file, returns a RetrieveResponse struct serialized as JSON with serde

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages