Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 1.04 KB

File metadata and controls

22 lines (14 loc) · 1.04 KB

license Codeship Status

go-itsdangerous

Like itsdangerous but for Go.

Updates for 2016

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 the URLSafeTimedSerializer / URLSafeSerializer

Also:

  • Replaced use of string with []byte to avoid casting back and forth