Crates.io | lockur |
lib.rs | lockur |
version | 0.1.0 |
source | src |
created_at | 2024-03-24 01:38:21.157467 |
updated_at | 2024-03-24 01:38:21.157467 |
description | A simple cli tool to make file encryption a breeze. |
homepage | |
repository | https://github.com/mintsuku/lockur |
max_upload_size | |
id | 1184020 |
size | 23,083 |
lockur is a simple command-line interface (CLI) tool designed to make file encryption and decryption a breeze. With a focus on ease of use and security, lockur offers a straightforward way to secure your files with strong encryption standards.
Before installing lockur
, ensure you have Rust's toolchain installed on your system. If not, you can install it from here.
Once Rust is installed, you can install lockur
directly from crates.io by running:
cargo install lockur
To encrypt a file, use the encrypt
command with the --password
flag to specify your encryption password. The encrypted file will be saved with the same name as the original file but with an .enc
extension.
lockur encrypt input.txt --password yourpassword
To decrypt a file, use the decrypt
command with the --password
flag to specify the decryption password. The decrypted file will overwrite the original encrypted file.
lockur decrypt input.txt.enc --password yourpassword
You can set a custom salt for the key derivation process using the set
command. This is an optional step but can enhance the security of your encrypted files.
lockur set --salt yoursalt
Contributions are welcome! Please feel free to submit pull requests, open issues, or suggest improvements to the project.
lockur
is licensed under the MIT License. See the LICENSE file for more details.