Re: Garbage at the end of file - WeOnlyDo Discussion board

Re: Garbage at the end of file (General questions)

by wodSupport, Monday, February 14, 2005, 14:27 (4666 days ago) @ dandraka

Dandraka,

garbage is normal. Each algorithm has its own block size (blowfish is I believe 8 bytes) and operates on such blocks. When original data is smaller (last block does not align to 8 bytes) it must add *some* padding. What was added by your previous software - noone can know.

When you decrypt, you get original file plus these few bytes (so it aligns to 8), and you can't avoid it.

In the future, when you encrypt, you can choose to use Null padding, or use our Optimized = True which writes exact data size prior to encryption.

Hope it helps.


Complete thread: