Exceptions

class fast_file_encryption.IntegrityError

This exception is thrown if there is any integrity problem with an encrypted file.

  • Wrong file magic.

  • File to short.

  • Checksum mismatch.

  • Corrupt data.

class fast_file_encryption.DataTooLargeError

This exception is thrown, if you set a maximum size and it would be exceeded.