Skip to main content

A package for CTF Challenge

Project description

A Python implementation of the author

Installing

pip install pyjwtv2

Usage

>>> import jwt
>>> encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")
>>> print(encoded)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg
>>> jwt.decode(encoded, "secret", algorithms=["HS256"])
{'some': 'payload'}

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

jwtv2-1.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

jwtv2-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file jwtv2-1.0.1.tar.gz.

File metadata

  • Download URL: jwtv2-1.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for jwtv2-1.0.1.tar.gz
Algorithm Hash digest
SHA256 70abb143531722699a39290d4cea2d8e798e5475bd73538da855d66e8a038d55
MD5 45f4d937605258003a5182a9df72deaa
BLAKE2b-256 fb5baee3b14e1d1cd4cdbc3ea36369a3c2ee579ecbe38477636b15b1e4cec134

See more details on using hashes here.

File details

Details for the file jwtv2-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: jwtv2-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for jwtv2-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aacc6e1b541ae11313c697f80a4399610c4e9bccc6d6ce3f2b0b2683e284a2eb
MD5 4c7f3a0e6eda6eec008236377716ecc9
BLAKE2b-256 3b8fccd1b9e4136226a39492ce03fd11ef1527e9a3ab9818430b1e3b2206a91f

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