pki对称加密的性能差异是多少? [英] What is the performance difference of pki to symmetric encryption?
问题描述
我们希望对我们的项目做一些沉重的安全性要求,我们需要做很多高性能的加密。
We are looking to do some heavy security requirements on our project, and we need to do a lot of encryption that is highly performant.
我认为我知道PKI比对称加密慢得多,但比较复杂,但是我找不到数字来支持我的感受。
I think that I know that PKI is much slower and more complex than symmetric encryption, but I can't find the numbers to back up my feelings.
推荐答案
是的,纯非对称加密比对称cyphers(如DES或AES)慢得多,这就是为什么真正的应用程序使用混合加密:昂贵的公钥操作仅用于加密(和交换)将用于加密真实消息的对称算法的加密密钥。
Yes, purely asymmetric encryption is much slower than symmetric cyphers (like DES or AES), which is why real applications use hybrid cryptography: the expensive public-key operations are performed only to encrypt (and exchange) an encryption key for the symmetric algorithm that is going to be used for encrypting the real message.
公钥加密解决的问题是没有共享的秘密。使用对称加密,您必须信任所有相关方才能保持密钥。这个问题应该是一个比性能更大的问题(可以用混合方法来缓解)
The problem that public-key cryptography solves is that there is no shared secret. With a symmetric encryption you have to trust all involved parties to keep the key secret. This issue should be a much bigger concern than performance (which can be mitigated with a hybrid approach)
这篇关于pki对称加密的性能差异是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!