Cryptographically sign and verify data to safely pass it between trusted and untrusted environments.
ItsDangerous is a Python library for cryptographically signing data to ensure its integrity when passed between trusted and untrusted environments. It generates signed tokens that can be safely transmitted (e.g., in URLs or cookies) and later verified to detect tampering. It solves the problem of securely passing data like user IDs or session information without relying on server-side storage.
Python web developers who need to securely transmit data between requests, such as in password reset links, email confirmation tokens, or session management without server-side storage.
Developers choose ItsDangerous because it provides a simple, focused API for cryptographic signing without the overhead of full authentication systems. Its integration with the Pallets ecosystem (like Flask) and support for timestamps, compression, and custom serialization make it versatile for web security tasks.
Safely pass trusted data to untrusted environments and back.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.