An open API service indexing awesome lists of open source software.

https://github.com/apavazza/crypt

A file encryption and decryption tool
https://github.com/apavazza/crypt

aes argon2 cli cryptography encryption rust

Last synced: 12 months ago
JSON representation

A file encryption and decryption tool

Awesome Lists containing this project

README

          

# Crypt

[![Tests](https://github.com/apavazza/crypt/actions/workflows/tests.yml/badge.svg)](https://github.com/apavazza/crypt/actions/workflows/tests.yml)
[![Build](https://github.com/apavazza/crypt/actions/workflows/build-and-release.yml/badge.svg)](https://github.com/apavazza/crypt/actions/workflows/build-and-release.yml)
![Rust version](https://img.shields.io/badge/Rust-1.85%2B-dea584.svg)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](LICENSE)

A file encryption and decryption tool using AES and Argon2id

## Usage

### Encrypting a File

To encrypt a file, run:

```shell
crypt encrypt
```

or

```shell
crypt e
```

### Decrypting a File

To decrypt a file, run:

```shell
crypt decrypt
```

or

```shell
crypt d
```

### Examining File Headers

To display the header information, run:
```shell
crypt header
```

or

```shell
crypt h
```

## Encryption

Files are encrypted using AES-256-CBC with argon2id hashing.

## Compiling

To compile the program, run:

```shell
cargo build --release
```

To run tests, run:

```shell
cargo test
```

## License

This software is provided under the terms of the [GNU General Public License v3.0](LICENSE).