Crates.io | secured |
lib.rs | secured |
version | 0.6.0 |
source | src |
created_at | 2023-11-29 20:12:59.336528 |
updated_at | 2023-12-19 19:10:58.34673 |
description | A lightweight, easy-to-use Rust package for file encryption and decryption, suitable for both CLI and library integration in Rust applications. |
homepage | |
repository | https://github.com/mikesposito/secured/ |
max_upload_size | |
id | 1053511 |
size | 45,591 |
A very fast CLI tool for encryption and decryption of large amounts of data
https://github.com/mikesposito/secured/assets/34438276/d82874b2-348d-4ade-860c-79e393bfd87e
[!WARNING] As this crate is under early development, APIs are rapidly changing, and so is the documentation.
To use secured as a CLI tool or integrate it into your Rust project, ensure you have Rust installed, then:
cargo install secured
cargo add secured
Encrypt a single file with a password. If no password is provided, the tool will prompt you for it.
secured encrypt secret.txt
Decrypt a single file with a password. If no password is provided, the tool will prompt you for it.
secured decrypt secret.txt.secured
Use glob patterns to encrypt or decrypt multiple files with a single command.
secured encrypt data/*.txt
secured decrypt data/*.txt.secured
Generate an encryption key from a password with customizable iterations and salt.
secured key --password my_secret_password --iterations 1000000 --salt abcdef1234567890
Inspect details of one or more secured files.
secured inspect secret.txt.secured
secured inspect data/*.txt.secured
Contributions are welcome! Feel free to open issues or submit pull requests.
Secured is distributed under the MIT License. See LICENSE
for more information.