rscrypt

CI Version License

rscrypt (scryptenc-cli) is a command-line utility for encrypt and decrypt files.

This is a Rust implementation of scrypt(1).

Demonstration video

Installation

From source

sh cargo install scryptenc-cli

From binaries

The release page contains pre-built binaries for Linux, macOS and Windows.

How to build

Please see BUILD.adoc.

Usage

Basic usage

Encrypt a file:

sh rscrypt enc data.txt data.txt.scrypt

Decrypt a file:

sh rscrypt dec data.txt.scrypt data.txt

Generate shell completion

--generate-completion option generates shell completions to stdout.

The following shells are supported:

Example:

sh rscrypt --generate-completion bash > rscrypt.bash

Command-line options

Please see the following:

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

Acknowledgment

This program is inspired by the scrypt encryption utility, and built on top of the scryptenc crate.

License

Copyright © 2022–2023 Shun Sakai (see AUTHORS.adoc)

  1. This program is distributed under the terms of the GNU General Public License v3.0 or later.
  2. Some files are distributed under the terms of the Creative Commons Attribution 4.0 International Public License.

See COPYING for more details.