#tauri #react #cargo #cli #password #desktop #encryption #security #cli-tool

bin+lib cargo-cryptile

A CLI Tool to Encrypt and Decrypt files with a secure password

1 unstable release

Uses new Rust 2021

0.2.0 Oct 30, 2022
0.1.2 Oct 26, 2022
0.1.1 Oct 26, 2022
0.1.0 Oct 26, 2022

#876 in Cryptography

Download history 70/week @ 2022-10-24 28/week @ 2022-10-31 8/week @ 2022-11-07 1/week @ 2022-11-14

107 downloads per month

MIT license

764 lines


cargo-cryptile is a CLI tool for encrypting and decrypting files with a password.

The file are encrypted using AES256 secure encryption with almost zero overhead.

You can securely save your encryption passwords using set command to quickly encrypt and decrypt files using them.


cargo install cargo-cryptile

Using Cryptile

Just run cargo cryptile --help for a list of available commands and options.


  • Encrypt a file with a password:
    cargo cryptile encrypt "file.txt" -p <password>
  • Decrypt a file with a password and remove the encrypted file:
    cargo cryptile decrypt "file.txt.cryptile" -p <password> --replace
  • Set a master password to use:
    cargo cryptile set -m
  • Save a password along with an identifier to use:
    cargo cryptile set -p
  • Encrypt a file using master password:
    cargo cryptile encrypt file.txt -m
  • Decrypt a file using an identifier of a saved password:
    cargo cryptile decrypt file.txt.cryptile -s my_pass

More Features To Be Added...


~93K SLoC