Skip to content

Instantly share code, notes, and snippets.

@tscholl2
tscholl2 / aes.go
Last active Oct 30, 2021
simple AES encryption/decryption example with PBKDF2 key derivation in Go, Javascript, and Python
View aes.go
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"fmt"
"strings"