why AES encryption is faster than Decryption

半世苍凉 提交于 2019-12-25 17:17:23

问题


I developed an encrypion system using AES, as i read, AES is symmetric and thus it takes the same period of time to encrypt and decrypt a particular file .. in my case, i got encryption time shorter than decryption time eventhough I iterate the encryption and decryption for the same file more than 20 times.

any justiication why am I getting different time for encryption or decryption ?!


回答1:


Symmetric points to the fact that it uses the same key to encrypt and decrypt, and has nothing to do with the encryption and decryption functions themselves. Algorithms generally perform differently depending on their implementation. That said, the opposite of your question has been asked on the Security StackExchange: https://security.stackexchange.com/questions/38055/why-does-aes-encryption-take-more-time-than-decryption



来源:https://stackoverflow.com/questions/20171704/why-aes-encryption-is-faster-than-decryption

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!