This chapter covers the core features and capabilities of Encryption Toolkit.
secrets moduleFollow this guide to get Encryption Toolkit up and running in your environment.
# Encrypt a file
python src/encryption_toolkit.py --mode encrypt --input secret.txt --password "MyP@ss"
# Decrypt a file
python src/encryption_toolkit.py --mode decrypt --input secret.txt.enc --password "MyP@ss"
# Hash a file
python src/encryption_toolkit.py --mode hash --input data.txt --algorithm sha256
# Generate an RSA key pair
python src/encryption_toolkit.py --mode keygen --bits 2048 --output keys/
# Store a secret in the vault
python src/encryption_toolkit.py --mode vault --action store --key "api_key" --value "sk-EXAMPLE"
# Retrieve a secret from the vault
python src/encryption_toolkit.py --mode vault --action retrieve --key "api_key"Encrypted files are written with a .enc extension. Key pairs are saved as PEM files. Hash digests are printed to stdout. Vault operations read/write an encrypted JSON store.
Get the full Encryption Toolkit and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.