initial commit

This commit is contained in:
Sam 2022-05-02 17:19:37 +02:00
commit 5a75f99720
20 changed files with 2239 additions and 0 deletions

20
scripts/genkey/main.go Normal file
View file

@ -0,0 +1,20 @@
package main
import (
"crypto/rand"
"encoding/base64"
"fmt"
)
func main() {
b := make([]byte, 64)
_, err := rand.Read(b)
if err != nil {
panic(err)
}
s := base64.URLEncoding.EncodeToString(b)
fmt.Println(s)
}