各种加密算法的速度对比

来源:互联网 发布:matlab函数输入数组 编辑:程序博客网 时间:2024/05/22 15:29

cpu: Intel Core i7-4712MQ CPU 2.3GHz 

memory:8GB

os:win7 64

命令:

cryptotest b
AlgorithmMiB/SecondMicroseconds to
Setup Key and IVAES/GCM3111.706AES/CCM1421.094AES/EAX1431.643GMAC(AES)7501.707VMAC(AES)-6431102.703VMAC(AES)-12816613.150HMAC(SHA-1)551.584Two-Track-MAC370.124CMAC(AES)1930.568DMAC(AES)1941.866CRC32205Adler32354MD5109SHA-155SHA-256225SHA-512174SHA-3-22413SHA-3-25612SHA-3-38410SHA-3-5127Tiger402Whirlpool118RIPEMD-16038RIPEMD-32038RIPEMD-12849RIPEMD-25654Panama-LE16881.765Panama-BE615.560Salsa208790.685Salsa20/1213670.726Salsa20/819030.725Sosemanuk13543.011MARC4937.142SEAL-3.0-LE58178.711WAKE-OFB-LE474.077AES/CTR (128-bit key)5440.798AES/CTR (192-bit key)4840.802AES/CTR (256-bit key)4180.868AES/CBC (128-bit key)1980.684AES/CBC (192-bit key)1700.691AES/CBC (256-bit key)1490.742AES/OFB (128-bit key)1720.784AES/CFB (128-bit key)1930.927AES/ECB (128-bit key)6600.316Camellia/CTR (128-bit key)240.961Camellia/CTR (256-bit key)201.149Twofish/CTR1910.193Serpent/CTR102.399CAST-256/CTR183.042RC6/CTR246.154MARS/CTR157.689SHACAL-2/CTR (128-bit key)151.665SHACAL-2/CTR (512-bit key)151.787DES/CTR169.277DES-XEX3/CTR149.632DES-EDE3/CTR829.239IDEA/CTR151.885RC5 (r=16)265.145Blowfish/CTR3060.719TEA/CTR120.735XTEA/CTR160.723CAST-128/CTR231.129SKIPJACK/CTR108.728SEED/CTR (1/2 K table)201.046

OperationMilliseconds/OperationRSA 1024 Encryption0.12RSA 1024 Decryption1.45LUC 1024 Encryption0.11LUC 1024 Decryption2.36DLIES 1024 Encryption0.64DLIES 1024 Encryption with precomputation2.51DLIES 1024 Decryption1.59LUCELG 512 Encryption0.43LUCELG 512 Encryption with precomputation0.43LUCELG 512 Decryption0.83RSA 2048 Encryption0.21RSA 2048 Decryption4.81LUC 2048 Encryption0.21LUC 2048 Decryption7.56DLIES 2048 Encryption2.44DLIES 2048 Encryption with precomputation4.69DLIES 2048 Decryption4.14LUCELG 1024 Encryption1.18LUCELG 1024 Encryption with precomputation1.19LUCELG 1024 Decryption1.86RSA 1024 Signature1.43RSA 1024 Verification0.12RW 1024 Signature2.51RW 1024 Verification0.08LUC 1024 Signature2.39LUC 1024 Verification0.10NR 1024 Signature0.35NR 1024 Signature with precomputation0.76NR 1024 Verification0.35NR 1024 Verification with precomputation1.42DSA 1024 Signature0.37DSA 1024 Signature with precomputation0.76DSA 1024 Verification0.37DSA 1024 Verification with precomputation1.40LUC-HMP 512 Signature0.43LUC-HMP 512 Signature with precomputation0.44LUC-HMP 512 Verification0.47LUC-HMP 512 Verification with precomputation0.47ESIGN 1023 Signature0.32ESIGN 1023 Verification0.11ESIGN 1536 Signature0.50ESIGN 1536 Verification0.18RSA 2048 Signature4.80RSA 2048 Verification0.21RW 2048 Signature7.15RW 2048 Verification0.15LUC 2048 Signature7.60LUC 2048 Verification0.21NR 2048 Signature1.25NR 2048 Signature with precomputation1.20NR 2048 Verification1.36NR 2048 Verification with precomputation2.17LUC-HMP 1024 Signature1.20LUC-HMP 1024 Signature with precomputation1.22LUC-HMP 1024 Verification1.30LUC-HMP 1024 Verification with precomputation1.29ESIGN 2046 Signature0.61ESIGN 2046 Verification0.20XTR-DH 171 Key-Pair Generation0.70XTR-DH 171 Key Agreement1.38XTR-DH 342 Key-Pair Generation1.38XTR-DH 342 Key Agreement2.74DH 1024 Key-Pair Generation0.35DH 1024 Key-Pair Generation with precomputation1.29DH 1024 Key Agreement1.62DH 2048 Key-Pair Generation1.28DH 2048 Key-Pair Generation with precomputation2.41DH 2048 Key Agreement4.05LUCDIF 512 Key-Pair Generation0.23LUCDIF 512 Key-Pair Generation with precomputation0.23LUCDIF 512 Key Agreement0.80LUCDIF 1024 Key-Pair Generation0.61LUCDIF 1024 Key-Pair Generation with precomputation0.62LUCDIF 1024 Key Agreement1.91MQV 1024 Key-Pair Generation0.34MQV 1024 Key-Pair Generation with precomputation0.72MQV 1024 Key Agreement0.74MQV 2048 Key-Pair Generation1.21MQV 2048 Key-Pair Generation with precomputation1.15MQV 2048 Key Agreement2.52ECIES over GF(p) 256 Encryption8.21ECIES over GF(p) 256 Encryption with precomputation5.80ECIES over GF(p) 256 Decryption5.82ECDSA over GF(p) 256 Signature4.19ECDSA over GF(p) 256 Signature with precomputation2.97ECDSA over GF(p) 256 Verification10.26ECDSA over GF(p) 256 Verification with precomputation5.26ECDHC over GF(p) 256 Key-Pair Generation4.13ECDHC over GF(p) 256 Key-Pair Generation with precomputation2.92ECDHC over GF(p) 256 Key Agreement4.17ECMQVC over GF(p) 256 Key-Pair Generation4.12ECMQVC over GF(p) 256 Key-Pair Generation with precomputation2.90ECMQVC over GF(p) 256 Key Agreement10.32ECIES over GF(2^n) 233 Encryption47.32ECIES over GF(2^n) 233 Encryption with precomputation13.44ECIES over GF(2^n) 233 Decryption26.71ECDSA over GF(2^n) 233 Signature23.81ECDSA over GF(2^n) 233 Signature with precomputation6.82ECDSA over GF(2^n) 233 Verification29.85ECDSA over GF(2^n) 233 Verification with precomputation11.59ECDHC over GF(2^n) 233 Key-Pair Generation23.74ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation6.76ECDHC over GF(2^n) 233 Key Agreement23.61ECMQVC over GF(2^n) 233 Key-Pair Generation23.72ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation6.71ECMQVC over GF(2^n) 233 Key Agreement29.00Throughput Geometric Average: 302.73
0 0
原创粉丝点击