itsdangerous · PyPI
pypi.org › project › itsdangerousMay 18, 2021 · Donate. The Pallets organization develops and supports ItsDangerous and other popular packages. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.
用签名保护你的隐私(3)-URL安全序列化 - 知乎
https://zhuanlan.zhihu.com/p/120241481import time from itsdangerous.url_safe import URLSafeTimedSerializer url_time_serializer = URLSafeTimedSerializer('ksdfkls903') # 序列化 res = url_time_serializer.dumps([1,2,3]) # WzEsMiwzXQ.XoBQLA.0fRHds5_DwWfVqeorMSOU4ohz0U print(res) # 反序列化 # 没有时间限制 res = url_time_serializer.loads(res) # [1, 2, 3] print(res) time.sleep(5) # 等等5秒 # 有时间限制 …
itsdangerous · PyPI
https://pypi.org/project/itsdangerous18.05.2021 · Files for itsdangerous, version 2.0.1; Filename, size File type Python version Upload date Hashes; Filename, size itsdangerous-2.0.1.tar.gz (59.3 kB) File type Source Python version None Upload date May 18, 2021 Hashes View