https://github.com/andreacioni/aescrypt
Golang implementation of AES file encryption/decryption compatible with https://www.aescrypt.com
https://github.com/andreacioni/aescrypt
aes-256 aescrypt encryption golang
Last synced: 4 months ago
JSON representation
Golang implementation of AES file encryption/decryption compatible with https://www.aescrypt.com
- Host: GitHub
- URL: https://github.com/andreacioni/aescrypt
- Owner: andreacioni
- License: bsd-3-clause
- Created: 2018-02-26T16:23:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-10T18:55:55.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T12:45:30.916Z (8 months ago)
- Topics: aes-256, aescrypt, encryption, golang
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aescrypt [](https://travis-ci.org/andreacioni/aescrypt) [](https://goreportcard.com/report/github.com/andreacioni/aescrypt) [](https://godoc.org/github.com/andreacioni/aescrypt)
Golang implementation of AES file encryption/decryption compatible with [AES Crypt](https://www.aescrypt.com) version 1 & 2**Installation**
```go get github.com/andreacioni/aescrypt```
**Example**
```go
package mainimport (
"fmt"
"github.com/andreacioni/aescrypt"
)func main() {
aesCrypt := aescrypt.New("super_secret_password")if err := aesCrypt.Encrypt("plain_text_file.txt", "plain_text_file.txt.aes"); err != nil {
fmt.Printf("Failed to encrypt the file: %v\n", err)
}if err := aesCrypt.Decrypt("plain_text_file.txt.aes", "plain_text_file.txt"); err != nil {
fmt.Printf("Failed to decrypt the file: %v\n", err)
}
}
```Made with
by Andrea Cioni