feat: organizations and API keys

This commit is contained in:
argoyle committed 2023-04-27 07:46:52 +02:00
1 parent 504f40902e
commit 554a6c252f
22 files changed
+2469 -199

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package hash
import (
"crypto/sha256"
"encoding/base64"
)
func String(s string) string {
encoded := sha256.New().Sum([]byte(s))
return base64.StdEncoding.EncodeToString(encoded)
}