Skip to content

pouriya/pcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCrypt

A utility to Archive (zip) + Encrypt (AES-256) + Compress (Zstd) directory files and vice versa

pcrypt

Download

Latest builds (single binary, no install):

Platform Download
macOS (Apple Silicon) pcrypt-aarch64-apple-darwin
Linux (x86_64, musl) pcrypt-x86_64-unknown-linux-musl
Windows (x86_64) pcrypt-x86_64-pc-windows-msvc.exe
Docker ghcr.io/pouriya/pcryptdocker pull ghcr.io/pouriya/pcrypt:latest

After download: make the file executable on macOS/Linux (chmod +x pcrypt-...).

Usage

~ $ pcrypt --help
A utility to Archive (zip) + Encrypt (AES-256) + Compress (Zstd) directory files and vice versa

Usage: 

Commands:
  archive  Archive + Encrypt + Compress files of an input directory (only first level of files)
  extract  Extract + Decrypt + Decompress contents of an archive file
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Archive Usage

~ $ pcrypt archive --help 
Archive + Encrypt + Compress files of an input directory (only first level of files)

Usage: 

Arguments:
  <DIRECTORY>
          Directory path to archive

Options:
  -z <ZSTD_COMPRESSION_LEVEL>
          Zstd compression level (between -7 - 22)
          
          [default: 7]

      --compression-method <COMPRESSION_METHOD>
          Compression method
          
          [default: zstd]

          Possible values:
          - zstd:  Fast and efficeint but (for now) you have to decompress archives only using this app
          - bzip2: VERY SLOW (compared to `zstd`), but you can decompress archive via well-known tools like 7z

  -h, --help
          Print help (see a summary with '-h')

Extract Usage

~ $ pcrypt extract --help
Extract + Decrypt + Decompress contents of an archive file

Usage: 

Arguments:
  <ARCHIVED_FILE>  Archived .pcrypt.zip file path to extract

Options:
  -h, --help  Print help

About

Fast, Secure, and Efficient 1MB utility to Archive (zip) + Encrypt (AES-256) + Compress (Zstd) files and vice versa

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors