Skip to content

Instantly share code, notes, and snippets.

View DragonSSS's full-sized avatar

Wilson Song DragonSSS

View GitHub Profile
@DragonSSS
DragonSSS / asymmetric.go
Created July 20, 2020 20:47 — forked from cryptix/LICENSE
example of using JWT for http authentication in go
package main
// using asymmetric crypto/RSA keys
import (
"crypto/rsa"
"fmt"
"io/ioutil"
"log"
"net/http"