数据加密-怎样确定RSA Key 的长度

RSA密钥长度的选择对安全性与性能有直接影响。1024位的RSA密钥适用于中等安全场景,如网站登录;高安全应用则推荐使用至少2048位的密钥。解密时间随密钥长度增加,4096位密钥可能需要约1秒的CPU时间,可能导致服务器被攻击。当前,1024位密钥对部分资源有限的对手是安全的,但不适用于长期保密需求。
摘要由CSDN通过智能技术生成

RSA key lengths

From http://www.javamex.com/tutorials/cryptography/rsa_key_length.shtml

When you create an RSA key pair, you specify a key length in bits, as generally you would for other algorithms. Specifically, the key length of an RSA key specifies the number of bits in the modulus. In our RSA encryption example, we specified a key length of 2048 bits. But in practice, what RSA key length should we choose?

First the short answer:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值