RS256 vs HS256: What's the Difference?!

preview_player
Показать описание
RS256 and HS256 are the two most common algorithms to sign JWTs. In this video, you will learn the differences between HS256 and RS256 JWT singing algorithms and possible scenarios for when to use each.

Blogpost version of this information:

___________________________________________
Learn with Auth0 by Okta
Follow Us on Social
Рекомендации по теме
Комментарии
Автор

great content, easy to understand, and super fun. Great job!

VinhDo-ux
Автор

It sounds like you are discussing 1 use case. A key signed by 1 needing to be verified by another. For general web applications not using okta(or another identity provider) this is not the case. For a web app the server signs and that same server verifies. You can still just rotate out the key without redeploying anything and your hs256 key is never shared just like a private key.

bobbyj