Skip to content

Instantly share code, notes, and snippets.

View tristolliday's full-sized avatar

Tris Tolliday tristolliday

  • Bournemouth
View GitHub Profile
@tscholl2
tscholl2 / aes.go
Last active August 20, 2025 15:02
simple AES encryption/decryption example with PBKDF2 key derivation in Go, Javascript, and Python
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"fmt"
"strings"