Like itsdangerous but for Go.
Forked from https://github.com/iromli/go-itsdangerous, and updated to work with latest version of itsdangerous, specifically the flask secure cookie defaults (URLSafeTimedSerializer):
- Removed EPOCH (see pallets/itsdangerous#46)
- Added zlib compression / decompression (see comment)
- Added helper functions
SignB64
,UnsignB64
for ease of use with theURLSafeTimedSerializer
/URLSafeSerializer
Also:
- Replaced use of
string
with[]byte
to avoid casting back and forth