Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The article says you encrypt, then compress. You might want to clarify that.


How can you possibly compress encrypted data? An ideal cipher should produce output indistinguishable from randomness, which is inherently difficult (read: near impossible) to compress.


Hopefully we corrected the docs and the comments here help, but we don't encrypt before we compress. We compress before we encrypt.


My bad - fixed.


In the next paragraph after the one you fixed

> crypt encrypts, compresses, then encodes your value for storage


dammit.


In this thread: just talking or writing _about_ encryption can be difficult. To say nothing of correctly implementing it in a project.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: