package
Version:
v3.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Feb 9, 2019
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Nonce generates a random 16 byte string to be used as a nonce
SignedValue returns a cookie that is signed and can later be checked with Validate
Validate ensures a cookie is properly signed
Cipher provides methods to encrypt and decrypt cookie values
NewCipher returns a new aes Cipher for encrypting cookie values
Decrypt a value from a cookie to it's original string
Encrypt a value for use in a cookie
Source Files
¶
Click to show internal directories.
Click to hide internal directories.