Skip to content

Instantly share code, notes, and snippets.

View renaldiadrian98's full-sized avatar

Renaldi Adrian renaldiadrian98

View GitHub Profile
@manishtpatel
manishtpatel / main.go
Last active October 18, 2023 03:12
GoLang Encrypt string to base64 and vice versa using AES encryption.
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"fmt"
"io"
)