https://github.com/danvixent/cryptany
A simple tool for encrypting/decrypting any sequence of bytes using a key
https://github.com/danvixent/cryptany
encryption golang security
Last synced: 5 months ago
JSON representation
A simple tool for encrypting/decrypting any sequence of bytes using a key
- Host: GitHub
- URL: https://github.com/danvixent/cryptany
- Owner: danvixent
- Created: 2020-08-06T22:16:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-20T15:42:41.000Z (over 4 years ago)
- Last Synced: 2025-08-11T21:43:48.391Z (11 months ago)
- Topics: encryption, golang, security
- Language: Go
- Homepage:
- Size: 9.83 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cryptany
A simple tool for encrypting any sequence of bytes using a key
Use the following command to install it into your GOPATH
```bash
$ go install github.com/danvixent/cryptany
```
## Examples
For encryption:
```bash
$ cryptany -path /path/to/file -key somekey -enc
encrypted file: /path/to/file.crypt
```
For decryption:
```bash
$ cryptany -path /path/to/file.crypt -key somekey -dec
decrypted file: /path/to/file
```
Specifying custom output directory:
```bash
$ cryptany -path /path/to/file -key somekey -enc -out ~/crypts
encrypted file: ~/crypts/file.crypt
```