Noise Insertion
Once files are compressed and encrypted random noise will be added to each file. This will be carried out using keys (not the encryption key) from the Keystore that are plugged into a keystream generator. The keystream generator will create a keystream of infinite length that will be used to tell envelope where and when to insert random data into the cipher. Random data will be generated using a cryptographically secure random number generator built into Java. This is done at the bit level and matching algorithms are used to ensure that the random data inserted into the cipher display similar entropy as the cipher. This will make a statistical attack on the random noise very difficult as the random noise will display the same characteristics as the cipher.
Message expansion will be between 13% and 17% when random noise is added to the cipher however if lossy files are encrypted then the cipher will be smaller than the original file due to compression. If non-lossy files are encrypted then unfortunately message expansion will take place. Noise insertion can be disabled if required.