Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyjwt

# pip install PyJWT

import jwt

encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")
print(encoded)
decode = jwt.decode(encoded, "secret", algorithms=["HS256"])
print(decode)

full documentation : https://pyjwt.readthedocs.io/en/stable/
 
PREVIOUS NEXT
Tagged: #pyjwt
ADD COMMENT
Topic
Name
4+6 =