Skip to content
UPEEC

cryptography and PyCryptodome

Modern, well-reviewed cryptography (cryptography) and a broad low-level toolkit (PyCryptodome).

Intermediate
Comments 0
from cryptography.fernet import Fernet
key = Fernet.generate_key(); f = Fernet(key)
token = f.encrypt(b"secret config"); f.decrypt(token)

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.