Generate Random Secret Token (64 bit) use the command line
Aug 12, 2022
Easily Generate a Random Secret Token (64 bit) using the command line.
First Open the Command line or any shell
- node
- require(“ crypto”).randomBytes(64).toString(“hex”)
Then this 64-bit hex code we are using for JWT