JWT RS256、RS384、RS512算法有什么区别? [英] What are the differences between JWT RS256, RS384, and RS512 algorithms?

查看:47
本文介绍了JWT RS256、RS384、RS512算法有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在当前项目中使用 JWT RS256 算法,但我想知道算法 RS256、RS384 和 RS512 之间有什么区别.谁能向我解释一下这些算法的主要区别是什么?

解决方案

这是在

RS256RS384RS512的区别在于散列算法SHA256SHA384SHA512

I'm using JWT RS256 algorithm in my current project, but I'm wondering what are the differences between algorithms RS256, RS384, and RS512. Can someone explain to me what are the key differences in these algorithms?

解决方案

This is the set of algorithms defined for use with JWS in RFC 7518 -JSON Web Algorithms (JWA)

The difference between RS256, RS384, and RS512 is the hashing algorithm SHA256, SHA384 and SHA512

这篇关于JWT RS256、RS384、RS512算法有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆