lockur

Crates.iolockur
lib.rslockur
version0.1.0
sourcesrc
created_at2024-03-24 01:38:21.157467
updated_at2024-03-24 01:38:21.157467
descriptionA simple cli tool to make file encryption a breeze.
homepage
repositoryhttps://github.com/mintsuku/lockur
max_upload_size
id1184020
size23,083
mintsuku (mintsuku)

documentation

README

lockur

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.

Features

  • Easy-to-use: Simple commands to encrypt and decrypt files directly from your terminal.
  • Secure: Uses AES-256 GCM for encryption, ensuring your files are securely encrypted.
  • Customizable: Allows setting a custom salt for key derivation, enhancing the security of your encrypted files.

Installation

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

Usage

Encrypting a File

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

Decrypting a File

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

Setting a Custom Salt

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

Contributing

Contributions are welcome! Please feel free to submit pull requests, open issues, or suggest improvements to the project.

License

lockur is licensed under the MIT License. See the LICENSE file for more details.

Commit count: 3

cargo fmt