6 releases (3 stable)

2.0.0 Apr 13, 2024
1.0.1 Jan 23, 2024
0.3.2 Dec 28, 2022
0.3.1 Dec 13, 2022
0.3.0 Dec 13, 2022

#179 in Cryptography

Download history 1/week @ 2024-07-28

333 downloads per month

MIT license

20KB
360 lines

crab-cryptor

About

A simple file cryptor written in Rust.

Notice

Upgrade to v1.0.0

This project has a breaking change in version v1.0.0. A key derivation function is used in v1.0.0. The previous version is not compatible with the current version. If you want to decrypt the file encrypted by the previous version, please use the previous version.

Upgrade to v2.0.0

This project has a breaking change in version v2.0.0. URL-safe base64 encoding without padding is used in v2.0.0. The previous version is not compatible with the current version. If you want to decrypt the file encrypted by the previous version, please use the previous version.

Install

cargo install crab-cryptor

Getting Started

Encrypt

crab
crab v2.0.0
Author: xl_g <lr_kkr@outlook.com>
A file cryptor

> Choose function: encrypt
> Work directory: data
> Encryption token:

Decrypt

crab
crab v2.0.0
Author: xl_g <lr_kkr@outlook.com>
A file cryptor

> Choose function: decrypt
> Work directory: data
> Encryption token:

License

MIT license

Reference

Dependencies

~11–20MB
~350K SLoC