RS256 vs HS256: What’s the difference?

I’m using Auth0 to handle authentication in my web app. I’m using ASP.NET Core v1.0.0 and Angular 2 rc5 and I don’t know much about authentication/security in general.

In the Auth0 docs for ASP.NET Core Web Api, there are two choices for the JWT algorithm being RS256 and HS256. This may be a dumb question but:

What’s the difference between RS256 and HS256? What are some use cases (if applicable)?

4 Answers
4

Leave a Comment