Skip to main content

Fernet (symmetrically signed and encrypted) Web Tokens

Project description

Python Fernet Web Token

Produce signed, encrypted tokens using Fernet encryption.

Usage

import fwt

tf = fwt.Authority(key=b'...', aud='AUTH')

token = tf.encode({...}, expire_after=3600)
token = tf.encode({...}, expire_at=datetime(2030, 1, 1))
data = tf.decode(token)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fwt-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fwt-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file fwt-0.1.0.tar.gz.

File metadata

  • Download URL: fwt-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for fwt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9741f21f8a1f3a420dd2b464c617c360da9be627c479c2f993873f986ecb61b
MD5 b6e8d387f6eee714a420ea8cd0b42e5d
BLAKE2b-256 9e5962c5c2f2731fe8b496713f98b9b69dd7bf130a91d1d47decf59eca94b16e

See more details on using hashes here.

File details

Details for the file fwt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fwt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for fwt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c345d427fc9ff61cc0e518aee24c9d562f39b5bf996e046fbbfc8b474d4ee091
MD5 19ad35ca56d3a9521919bdba5d69d1bf
BLAKE2b-256 9a88716c357fa97d2dce01c49b40c83f85b99bb815d78e67edd83f8538a037ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page