Documentation
¶
Index ¶
- func GenerateUUID() string
- func GenerateUserToken(userID string) (string, time.Time)
- func ProtectPII(pii string) (string, error)
- func ProtectPassword(password string) string
- func ProtectUserID(userID string) (string, error)
- func VerifyPassword(submitted, base64Blob string) bool
- func X509KeyPair(keystorePath string, serverKeyPass *[]byte) (tls.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUUID ¶
func GenerateUUID() string
func ProtectPassword ¶
ProtectPassword returns the Base64-encoded protected password
func ProtectUserID ¶
ProtectUserID protects the email address used as user identifier
func VerifyPassword ¶
VerifyPassword verifies the submitted password against the actual one
func X509KeyPair ¶
func X509KeyPair(keystorePath string, serverKeyPass *[]byte) (tls.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.