Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 months ago
JSON representation

Golang implementation of AES file encryption/decryption compatible with https://www.aescrypt.com

Awesome Lists containing this project

README

        

# aescrypt [![Travis CI](https://travis-ci.org/andreacioni/aescrypt.svg?branch=master)](https://travis-ci.org/andreacioni/aescrypt) [![Go Report Card](https://goreportcard.com/badge/github.com/andreacioni/aescrypt)](https://goreportcard.com/report/github.com/andreacioni/aescrypt) [![GoDoc](https://godoc.org/github.com/kubernetes/helm?status.svg)](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 main

import (
"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