A simple tool for encrypting any sequence of bytes using a key
Use the following command to install it into your GOPATH
$ go install github.com/danvixent/cryptany
For encryption:
$ cryptany -path /path/to/file -key somekey -enc
encrypted file: /path/to/file.crypt
For decryption:
$ cryptany -path /path/to/file.crypt -key somekey -dec
decrypted file: /path/to/file
Specifying custom output directory:
$ cryptany -path /path/to/file -key somekey -enc -out ~/crypts
encrypted file: ~/crypts/file.crypt