Crate shell

Crate shell 

Source
Expand description

Main workflows and I/O operations.

§Shadow Crypt Shell

Shell layer for shadow_crypt, handling main workflows and I/O operations.

This crate provides the interface layer between the command-line interface and filesystem operations, building on shadow_crypt_core to offer secure file encryption and decryption with filename obfuscation. It manages I/O to keep the core library focused on deterministic types and operations.

Modules are vertically sliced to separate concerns like encryption, decryption and listing.

Modules§

decryption
Specific workflow and operations for decryption.
encryption
Specific workflow and operations for encryption.
errors
Shared error types.
listing
Specific workflow and operations for listing encrypted files.
memory
Secure memory management with automatic zeroization of sensitive data.
password
Shared password handling utilities.
ui
Shared user interface utilities for displaying progress and results.
utils
Shared utility functions for file operations and data parsing.

Enums§

SecurityProfile

Functions§

display_error
display_success