Skip to content

Instantly share code, notes, and snippets.

View roachadam's full-sized avatar
💀
sp00ky

roach roachadam

💀
sp00ky
View GitHub Profile
@sohamkamani
sohamkamani / rsa.go
Created April 12, 2020 17:31
Example of RSA encryption, decryption, signing, and verification in Go
package main
import (
"crypto"
"crypto/rand"
"crypto/rsa"
"crypto/sha256"
"encoding/base64"
"fmt"
)