3 ms·
The article says you encrypt, then compress. You might want to clarify that.
by dantiberian 12y ago
The article says you encrypt, then compress. You might want to clarify that.
- bketelsen 12y agoMy bad - fixed.
- michaelmior 12y agoIn the next paragraph after the one you fixed > crypt encrypts, compresses, then encodes your value for storage
- bketelsen 12y agodammit.
- saturdayplace 12y agoIn this thread: just talking or writing _about_ encryption can be difficult. To say nothing of correctly implementing it in a project.
- doomrobo 12y agoHow can you possibly compress encrypted data? An ideal cipher should produce output indistinguishable from randomness, which is inherently difficult (read: near impossible) to compress.
- kelseyhightower 12y agoHopefully we corrected the docs and the comments here help, but we don't encrypt before we compress. We compress before we encrypt.