Created
February 10, 2018 09:23
-
-
Save abhaybhargav/f9f1963fbe87d5f8f46c3531e64198f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
token = jwt.encode({"Hello": "World"}, key="s3cr3tk3y", algorithm="HS256") | |
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJIZWxsbyI6IldvcmxkIn0.GO5pUIFVmcNqX2DUANc8pwjW646rUlI-OCVakzp5kKo' | |
jwt.decode(token, key = "s3cr3tk3y", algoritm = "HS256") | |
{u'Hello': u'World'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment