Documentation
¶
Overview ¶
Package seal encrypts and authenticates small values, such as cookie contents, with AES-256-GCM. The key is derived from a secret, so any string of at least 32 bytes works.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("seal: invalid value")
ErrInvalid is returned for values that were not sealed by this box or were changed.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.