Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Base64URLNoPadding = base64.URLEncoding.WithPadding(base64.NoPadding).EncodeToString
Functions ¶
func Decrypt ¶
Decrypt a byte slice with a key.
Source: https://tutorialedge.net/golang/go-encrypt-decrypt-aes-tutorial/
func Encrypt ¶
Encrypt a byte slice with a key.
Source: https://tutorialedge.net/golang/go-encrypt-decrypt-aes-tutorial/
func GenerateBase64URLNoPadding ¶ added in v0.2.0
Generate a random Base64 string that is url query safe.
Types ¶
Click to show internal directories.
Click to hide internal directories.