为什么AES加密比解密快 [英] why AES encryption is faster than Decryption

查看:511
本文介绍了为什么AES加密比解密快的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用AES开发了一个加密系统,因为我读到的AES是对称的,因此对特定文件进行加密和解密需要花费相同的时间..就我而言,尽管我的加密时间比解密时间短重复对同一文件进行加密和解密20次以上。

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 ?!

推荐答案

对称指出,它使用相同的密钥进行加密和解密,与加密和解密无关。解密功能本身。算法通常根据其实现方式执行不同的操作。就是说,已经在安全StackExchange上询问了与您问题相反的问题: https://security.stackexchange.com/questions/38055/why-does-aes-encryption-take-more-time-than-decryption

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

这篇关于为什么AES加密比解密快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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