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

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

问题描述

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

解决方案

这是在

RS256 RS384 RS512 之间的区别是哈希算法 SHA256 SHA384 SHA512

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天全站免登陆