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

This module contains all constants, used in this crate.

This module contains all footer, could be found in the zff specification (footer version 1 and footer version 2).

This module contains all header, could be found in the zff specification (header version 1 and header version 2).

This module contains several structs and methods to create and read zff images in version 1.

This module contains several structs and methods to create, read and extend zff container in version 2.

Structs

structure contains serveral methods to handle encryption

structure contains serveral methods to handle hashing

structure contains serveral methods to handle signing of chunked data.

The main error-type of this crate.

Enums

Defines all compression algorithms, which are implemented in zff.

Defines all encryption algorithms (for use in data and header encryption), which are implemented in zff.

Defines all hashing algorithms, which are implemented in zff.

Defines all KDF schemes, which are implemented in zff.

Defines all encryption algorithms (for use in PBE only!), which are implemented in zff.

The signature flags used in zff.

Contains the variants/kinds of errors, which could be find in this crate.

Traits

The HeaderCoding trait specifies an interface for the common header methods and the encoding and decoding methods.

decoder methods for values (and primitive types). This is an extension trait.

encoder methods for values (and primitive types). This is an extension trait.

Functions

decompresses a buffer with the given CompressionAlgorithm.

Returns the next file extension value.

Returns the previous file extension value.

Type Definitions

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