Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

HMAC

node v10.24.1
version: master
endpointsharetweet
const jwt = require('jsonwebtoken') const token = jwt.sign({ user: 'York' }, "IAmSecretKey")
const decoded = jwt.verify(token, 'IAmSecretKey') console.log(decoded.user)
Loading…

no comments

    sign in to comment