Skip to content

serjepatoff/aes-command-line

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aes-command-line

This is simple command line scripts for file encryption/decryption.

It is just two tiny shell scripts, that call openssl enc using symmetric cipher AES-256 in CBC mode.

Usage

# aes-encrypt <file>

  • encrypts file using aes-256-cbc with salt
  • write the result to .aes in the same directory
  • delete original file

# aes-encrypt <file>.aes

  • decrypts file encrypted with aes-encrypt
  • write the result to (without aes extension) in the same directory
  • delete encrypted file

Installation

run "sh install.sh"

  • will copy scripts as "aes-encrypt" and "aes-decrypt" to /usr/local/bin
  • use DESTDIR environment variable for other locations
  • To install to your home directory bin use

DESTDIR=~ sh install.sh

Tests

  • Uses OpenSSL, as secure as aes-256-cbc
  • Works on Mac

About

simple command line scripts for file encryption/decryption, uses openssl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%