Skip to content

Instantly share code, notes, and snippets.

View jordan-patterson's full-sized avatar

Jordan Patterson jordan-patterson

View GitHub Profile
@jordan-patterson
jordan-patterson / aes_encryption.go
Created December 27, 2017 14:04 — forked from stupidbodo/aes_encryption.go
AES Encryption Example in Golang
// Playbook - http://play.golang.org/p/3wFl4lacjX
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"