0.0.1 • Published 1 year ago

ts-jwt-utils v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ts-jwt-utils

sign with RSA SHA256

ssh-keygen rs256鍵

ssh-keygen -t rsa -b 4096 -f jwt.key

ssh-keygen -t rsa -b 4096 -m PEM -f jwt.key -N ""
ssh-keygen -f jwt.key.pub -e -m pem > jwt.pem.pub

node

openssl rand -base64 172 | tr -d '\ n'

node -e "console.log(require('crypto').randomBytes(32).toString('hex'));"