Skip to content
/ sfed Public

Simple file encryptor and decryptor written in Rust.

Notifications You must be signed in to change notification settings

eypiem/sfed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple File Encryptor and Decryptor

This Rust-written CLI tool allows the user to encrypt and decrypt files using a password. An AES-GCM-SIV key is derived from the user's password via the PBKDF2 algorithm, this key is used to encrypt another AES key which will be stored as a file. This way, the user can change their password without having to decrypt all the encrypted files first.

Usage

Create a new key:

sfed new-key <KEY_PATH>

Change key password:

sfed change-password <KEY_PATH>

Encrypt a file:

sfed encrypt <PLAIN_TEXT> <CIPHER_TEXT> <KEY_PATH>

Decrypt a file:

sfed decrypt <CIPHER_TEXT> <PLAIN_TEXT> <KEY_PATH>

Warning

This tool is not intended for practical use.

About

Simple file encryptor and decryptor written in Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages