JSPM

ts-jwt-utils

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q10876F
  • License MIT

jwt utils

Package Exports

  • ts-jwt-utils
  • ts-jwt-utils/dist/jwt.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ts-jwt-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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'));"