blob: b2e861567bd84b21a08d3d8a696c8555bce6b0de (
plain)
1
2
3
4
5
6
7
8
9
10
|
This module implements a secure way to encode session data. It is primarily
intended for storing session data in browser cookies, but could be used with
other backend storage where security of stored session data is important.
Features include:
() Data serialization and compression using Sereal
() Data encryption using AES with a unique derived key per encoded session
() Enforced expiration timestamp (optional)
() Integrity protected with a message authentication code (MAC)
|