Comments (2)
Hi @egbakou ,
With XChaCha20Poly1305
(or AES-256-GCM
if that matters) the nonce
does not need to be kept secret.
It can be appended to the ciphertext like in the previous blog post, or distributed as metadata (I think the latter is more common in the real world: you get the encrypted file, and some metadata as JSON such as the fileID, the encrypted filename, the nonce... whatever your application requires)
from kerkour.com.
Thank you for your response @skerkour 🙂
from kerkour.com.
Related Issues (15)
- Do not use `sqlx` for "high performance" sqlite insert benchmark HOT 1
- Beaglebone and host HOT 3
- Unable to resolve multiple types in email sending example HOT 2
- Scans beyond TCP connect HOT 1
- `cross` for cross-compiling Rust HOT 1
- rust_fast_port_scanner returns all ports HOT 6
- Error: Decrypting large file: aead::Error routine HOT 5
- Rust File Encryption: Use of unstable library feature 'array_methods' HOT 3
- Logic in streaming decryption isn't quite right HOT 1
- Question about environmental variables HOT 2
- Bad assumption on read() results HOT 5
- {minor} website typo HOT 1
- Blog post suggestion: Using the same/master password for file encryption/decryption
- Registry Expiry Date: 2030-04-16T17:02:18Z
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kerkour.com.