Created
September 6, 2021 01:38
-
-
Save MeetMartin/c85692904970302171293c1136e39b61 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import jwt from 'jsonwebtoken'; | |
| const key = 'MuchSecretVerySecureSoSafe'; | |
| const theSecret = jwt.verify(token, key); // returns the original encrypted JSON |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment