dexios 8.8.1

Secure, fast and authenticated command-line encryption of files with modern algorithms and an audited encryption backend.
use core::header::HashingAlgorithm;

use crate::global::states::{ForceMode, HashMode};

use super::states::{
    Compression, DirectoryMode, EraseMode, EraseSourceDir, HeaderLocation, Key, PrintMode,
};

pub struct CryptoParams {
    pub hash_mode: HashMode,
    pub force: ForceMode,
    pub erase: EraseMode,
    pub key: Key,
    pub header_location: HeaderLocation,
    pub hashing_algorithm: HashingAlgorithm,
}

pub struct PackParams {
    pub dir_mode: DirectoryMode,
    pub print_mode: PrintMode,
    pub erase_source: EraseSourceDir,
    pub compression: Compression,
}

pub struct KeyManipulationParams {
    pub key_old: Key,
    pub key_new: Key,
    pub hashing_algorithm: HashingAlgorithm,
}