Skip to content

Files

Latest commit

 

History

History

jwt-authentication

Express and JSON Web Token Authentication

Generate Random Access Token

node > require('crypto').randomBytes(64).toString('hex');

// Output

'e366bb13beebb0b9c8611dca7dc13d4badf7f303c374151cab5dfbb21196dede06224b3a210fdbd6f9392ac906b0f0662ff3480ea62c6374078928af177db161'

Reference