DevToys-app / DevToys

A Swiss Army knife for developers.

Home Page:https://devtoys.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate JWT by string secret

Gn3po4g opened this issue · comments

What improvement do you think would an existing feature or tool in DevToys?

Currently encoding a JWT token needs a SIGNATURE string. And SIGNATURE is available via HMACSHA256(base64UrlEncode(header) + "." + base64UrlEncode(payload), secret). So I hope it can provide an option to use secret instead of SIGNATURE.

Solution/Idea

Just like the implemented in https://jwt.io/.

Comments

PixPin_2024-07-12_21-08-45