-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# ENCRYPT FILE WITH AES-GCM | ||
# ENCRYPT A FILE WITH EASE | ||
|
||
This is a simple tool to encrypt and decrypt files. | ||
|
||
## Install | ||
|
||
[Get a binary here](https://github.com/mimoo/EncryptFileWithAES-GCM/releases). | ||
[Get a binary here](https://github.com/mimoo/eureka/releases). | ||
|
||
If you have [Go]() installed and `/usr/local/go/bin` is in your PATH, you should be able to simply get the binary by doing | ||
|
||
``` | ||
go get github.com/mimoo/EncryptFileWithAES-GCM | ||
go get github.com/mimoo/eureka | ||
``` | ||
|
||
## Usage | ||
|
||
`./EncryptFileWithAESGCM -encrypt -file [your-file]` will encrypt a file AND give you a one-time 256-bit AES key. | ||
`./eureka -encrypt -file [your-file]` will encrypt a file AND give you a one-time 256-bit AES key. | ||
|
||
You're supposed to upload that file somewhere, and send the key to your recipient in a separate channel. | ||
|
||
The recipient can use the key and the file like that: | ||
|
||
`./EncryptFileWithAESGCM -decrypt -file [encrypted-file] -key [hex-key]` | ||
`./eureka -decrypt -file [encrypted-file] -key [hex-key]` |