.net port of mitsuhiko/itsdangerous