Skip to content

Instantly share code, notes, and snippets.

@ericx10ng
ericx10ng / main.go
Created January 24, 2016 14:54 — forked from manishtpatel/main.go
GoLang Encrypt string to base64 and vice versa using AES encryption.
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"fmt"
"io"
)