#encryption #aes-gcm #decryption #level #system #data #file-encryption

bin+lib pvcrypt

System level data encryption using aes_gcm

2 stable releases

new 1.0.1 Jan 29, 2025

#1098 in Cryptography

MIT license

14KB
327 lines

PV Crypt - A system level file encryption solution using aes_gcm

About

A file encryption and decryption software used to encrypt a file using aes_gcm library. Added feature of using pipe to encrypt and decrypt files in a single command.

Features

  • Uses aes_gcm library to encrypt and decrypt files
  • Able to stream the file for encryption and decryption
  • Able to receive and output pipe data

Usage

Encryption

pvcrypt <input file> -o <output file>

Or using pipes

tar -cf - /path/to/your/folder | pvcrypt -o <output file>

Decryption

pvcrypt <input file> -o <output file> -d <key>

lib.rs:

Includes the major imports!

Dependencies

~2.9–8MB
~73K SLoC