Crate zff

Source
Expand description

This crate provides the reference implementation of the forensic file format Zff. Zff is a new file format for forensic images, as an alternative to EWF and AFF. Zff is focused on speed and security. If you want to learn more about ZFF, visit https://github.com/ph0llux/zff.

Re-exports§

pub use version2::*;
pub use version2::io::*;

Modules§

constants
This module contains all constants, used in this crate.
footer
This module contains all footer, could be found in the zff specification (footer version 1 and footer version 2).
header
This module contains all header, could be found in the zff specification (header version 1 and header version 2).
version1
This module contains several structs and methods to create and read zff images in version 1.
version2
This module contains several structs and methods to create, read and extend zff container in version 2.

Structs§

Encryption
structure contains serveral methods to handle encryption
Hash
structure contains serveral methods to handle hashing
Signature
structure contains serveral methods to handle signing of chunked data.
ZffError
The main error-type of this crate.

Enums§

CompressionAlgorithm
Defines all compression algorithms, which are implemented in zff.
EncryptionAlgorithm
Defines all encryption algorithms (for use in data and header encryption), which are implemented in zff.
HashType
Defines all hashing algorithms, which are implemented in zff.
KDFScheme
Defines all KDF schemes, which are implemented in zff.
PBEScheme
Defines all encryption algorithms (for use in PBE only!), which are implemented in zff.
SignatureFlag
The signature flags used in zff.
ZffErrorKind
Contains the variants/kinds of errors, which could be find in this crate.

Traits§

HeaderCoding
The HeaderCoding trait specifies an interface for the common header methods and the encoding and decoding methods.
ValueDecoder
decoder methods for values (and primitive types). This is an extension trait.
ValueEncoder
encoder methods for values (and primitive types). This is an extension trait.

Functions§

decompress_buffer
decompresses a buffer with the given CompressionAlgorithm.
file_extension_next_value
Returns the next file extension value.
file_extension_previous_value
Returns the previous file extension value.

Type Aliases§

Result
Result for std::result::Result<T, ZffError>.