问题描述
我已经读过某个地方可以比加密更快地执行解密。它是否正确?这将是一个纯软件实现,可能是openssl。块密码操作模式可能对加密/解密过程的性能有直接的影响。大致说来;然而,在AES正在对数据块进行加密时,在相反方向(解密)执行每轮循环的操作,因此对加密/解密本身的性能变化没有合理的理由。一些块密码操作模式(例如CBC)在加密输入块时需要顺序操作,而不需要解密中的顺序操作。
请检查此链接以进一步讨论此事:
I had read somewhere the decryption can be performed faster than encryption. Is this correct? This would be a pure software implementation using may be openssl.
The block cipher mode of operation might have a direct impact in the performance of the encryption/decryption processes. Roughly speaking; the operations performed on each round while AES is encrypting a block of data are performed in the opposite direction (decryption), so no reasonable justification for performance variation in the encryption/decryption itself , however; some of the block cipher mode of operations (e.g. CBC) requires sequential operation when encrypting input blocks, while no need for sequential operation in decryption.Please Check this link for further discussion on this matter:https://security.stackexchange.com/questions/38055/why-does-aes-encryption-take-more-time-than-decryption
这篇关于AES加密与解密速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!