Skip to content

Commit

Permalink
added helper file to generate JWT secret key.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Nov 4, 2020
1 parent ccf1872 commit 17230f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helpers/generateKeys.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const crypto = require('crypto');

const key = crypto.randomBytes(32).toString('hex');

console.log(key);

0 comments on commit 17230f2

Please sign in to comment.