AES-256 Encryption Explained
AES-256 is the encryption standard used by banks, militaries, and intelligence agencies worldwide. But not all AES-256 is created equal. Here's what matters for secure file sharing.
What does 256 mean?
The "256" refers to the key length in bits. A 256-bit key has 2^256 possible combinations — that's approximately 10^77, more than the number of atoms in the observable universe. Brute-forcing AES-256 is computationally impossible with current or foreseeable technology.
GCM: Authenticated encryption
DDLX.life uses AES-256-GCM (Galois/Counter Mode). The "GCM" part is critical — it provides authenticated encryption, meaning the ciphertext includes a mathematical proof (authentication tag) that the data hasn't been tampered with.
Without authentication, an attacker could modify your encrypted file in transit and the recipient wouldn't know. GCM detects any tampering automatically — if even one bit is altered, decryption fails.
Who holds the password?
Encryption design depends on both where encryption happens and whether the service retains the password. DDLX.life currently encrypts uploaded files on its application server before object storage.
The current DDLX.life storage flow:
- The application generates a random password during upload
- The password is returned once and is not saved in the database
- The file is encrypted before being placed in Cloudflare R2 object storage
- The upload does reach the application server before encryption
Why password storage matters
Separating the generated password from stored ciphertext limits what a database-only breach reveals. It does not turn server-side encryption into client-side or zero-knowledge encryption, and DDLX.life does not claim otherwise.
The takeaway
When choosing a file-sharing service, ask where encryption happens, whether the provider retains the key, what access metadata is logged, and how long the file remains available.