Hacker News new | ask | show | jobs
by klodolph 4481 days ago
Issue 2.2 has nothing to do with leaking the file size. It has to do with the encryption algorithm used.

Most modern encryption schemes operate on blocks of a certain fixed size, but if the file isn't a multiple of the block size, you have to do something special with the last block. EncFS apparently uses some made-up scheme for this, instead of using something more standard and well-understood. The common choices would be padding and ciphertext stealing.

http://en.wikipedia.org/wiki/Ciphertext_stealing