RSA 加密问题 [有效负载数据的大小] [英] RSA Encryption Problem [Size of payload data]

查看:14
本文介绍了RSA 加密问题 [有效负载数据的大小]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RSA 加密是否只能处理有限的数据负载?...我对理论感到困惑...理论上没有关于此的说明...

is it true that RSA encryption only can handle limited payload of data ? ... im confused with the theory ... theoretically there is no note regarding this ...

推荐答案

在不是很安全的基本 RSA 算法(无填充)中,消息的大小被限制为小于模数.

In the basic RSA algorithm (without padding) which is not very secure the size of the message is limited to be smaller than the modulus.

为了增强 RSA 的安全性,您应该使用 PKCS1 中定义的填充方案.根据您选择的方案,消息的大小可以明显小于模数.http://en.wikipedia.org/wiki/PKCS1

To enhance the security of RSA you should use padding schemes as defined in PKCS1. Depending on the scheme you choose the size of the message can be significantly smaller than the modulus. http://en.wikipedia.org/wiki/PKCS1

这篇关于RSA 加密问题 [有效负载数据的大小]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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