Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Ability to have best-practices generated keys #16

Open
dogeared opened this issue Sep 25, 2017 · 0 comments
Open

Ability to have best-practices generated keys #16

dogeared opened this issue Sep 25, 2017 · 0 comments

Comments

@dogeared
Copy link
Member

On of the things I like about java.jsonwebtoken.io is that it generates a key for the HS algorithm variants. And, the key it generates is always a base64 encoded binary byte array that's the max-width the given algorithm supports.

For instance, if you change the algorithm from HS256 to HS512, you'll notice a much longer key is generated.

It'd be nice to have this - as an option at least - for jsonwebtoken.io.

Most examples on the web use secret for the secret which, while human readable, is an anti-pattern that we shouldn't propagate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant