Generate JWT by string secret
Gn3po4g opened this issue · comments
鹏起鲸落 commented
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/.