Skip to content

Instantly share code, notes, and snippets.

View Eiryyy's full-sized avatar
🍣
wanna eat sushi

Tsukasa Kawagishi Eiryyy

🍣
wanna eat sushi
View GitHub Profile
@Eiryyy
Eiryyy / encrypt.go
Created July 11, 2018 06:00
AES-256-CBC Encrypt: Go / Node.js
package crypto
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"encoding/hex"
)
func Encrypt(s string) string {