Crates.io | security-cam-common |
lib.rs | security-cam-common |
version | 0.1.5 |
source | src |
created_at | 2023-12-16 05:18:18.276664 |
updated_at | 2024-02-09 09:11:23.978006 |
description | common code used by personal shuttle projects for creating Stream objects to send encrypted/decrypted files in chunks over the network. |
homepage | |
repository | |
max_upload_size | |
id | 1071574 |
size | 9,961 |
stream encryption and decryption using the stream macro provided by async-stream
encrypts and decrypts files in chunks using aes-gcm
has helper functions that use argon2 to generate salt, and also derive a key from a pre existing password.
This project is meant to be used to send a stream of encrypted bytes over a web request, or decrypt a file from the file system and send the decrypted bytes in a stream.