Documentation ¶
Index ¶
Constants ¶
View Source
const (
// KeyLength is the requested encryption key size.
KeyLength = 32
)
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
PASETO v4 symmetric decryption primitive https://github.com/paseto-standard/paseto-spec/blob/master/docs/01-Protocol-Versions/Version4.md#decrypt
func Encrypt ¶
PASETO v4 symmetric encryption primitive. https://github.com/paseto-standard/paseto-spec/blob/master/docs/01-Protocol-Versions/Version4.md#encrypt
func Sign ¶
PASETO v4 public signature primitive. https://github.com/paseto-standard/paseto-spec/blob/master/docs/01-Protocol-Versions/Version4.md#sign
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.