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,UnsignB64for ease of use with theURLSafeTimedSerializer/URLSafeSerializer
Also:
- Replaced use of
stringwith[]byteto avoid casting back and forth