secured 0.1.1

A lightweight, easy-to-use Rust package for file encryption and decryption, suitable for both CLI and library integration in Rust applications.
Documentation

secured

Secured is a versatile Rust package that provides robust encryption and decryption capabilities. It can be seamlessly integrated as a library in other Rust applications or used as a standalone command-line interface (CLI) tool.

Features

  • Encryption and Decryption: Easily encrypt and decrypt files with password, safely.
  • Cli & Library: Use as a standalone CLI tool or integrate as a library in your Rust applications.

Installation

To use secured as a CLI tool or integrate it into your Rust project, ensure you have Rust installed, then:

As a CLI tool

cargo install secured

As a Library

cargo add secured

Usage

As a CLI Tool

Secured is straightforward to use from the command line. Here are the basic commands:

  1. Encryption

    secured encrypt <FILE> [PASSWORD]
    

    Encrypts the specified <file>. An optional <password> can be provided for extra security.

  2. Decryption

    secured decrypt <FILE> [PASSWORD]
    

    Decrypts the specified <file>. If a <password> was used during encryption, the same must be provided for decryption.

As a Library

To use Secured as a library in your Rust application, simply import the package and utilize its encryption and decryption functions as per your requirements.

See package documentation for more information

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

Secured is distributed under the MIT License. See LICENSE for more information.