Best practice for sharing and storing encrypted data between server and client

I’m working on a system that shares data between a client and server.
The end goal of this system is to store server-encrypted data on the client’s hard drive, using keys generated by the server. the client needs copies of the keys so tha… Continue reading Best practice for sharing and storing encrypted data between server and client

How long does it take to encrypt/decrypt a message with ChaCha20 Poly1305 compared to sending the message over TLS? [closed]

I am trying to figure out how long the encryption/decryption time of a message with ChaCha20 Poly1305 is compared to how long it takes to send the message with TLSv1.2 between two phones. How much of the transmission time is the actual enc… Continue reading How long does it take to encrypt/decrypt a message with ChaCha20 Poly1305 compared to sending the message over TLS? [closed]

How to implement ChaCha20Poly1305 with large files? (Streamed/Chunked AEADs)

I have a private file encryption project that I’m working on that currently uses Encrypt-then-MAC. However, I’ve been looking at age and the article that’s referenced in the spec that discusses encrypting streams with AEADs. It’s not possi… Continue reading How to implement ChaCha20Poly1305 with large files? (Streamed/Chunked AEADs)