Fixed a bug with the definition of the size of the encrypted file