各種加密演算法的速度對比
阿新 • • 發佈:2019-02-07
cpu: Intel Core i7-4712MQ CPU 2.3GHz
memory:8GB
os:win7 64
命令:
cryptotest b
Algorithm | MiB/Second | Microseconds to Setup Key and IV |
---|---|---|
AES/GCM | 311 | 1.706 |
AES/CCM | 142 | 1.094 |
AES/EAX | 143 | 1.643 |
GMAC(AES) | 750 | 1.707 |
VMAC(AES)-64 | 3110 | 2.703 |
VMAC(AES)-128 | 1661 | 3.150 |
HMAC(SHA-1) | 55 | 1.584 |
Two-Track-MAC | 37 | 0.124 |
CMAC(AES) | 193 | 0.568 |
DMAC(AES) | 194 | 1.866 |
CRC32 | 205 | |
Adler32 | 354 | |
MD5 | 109 | |
SHA-1 | 55 | |
SHA-256 | 225 | |
SHA-512 | 174 | |
SHA-3-224 | 13 | |
SHA-3-256 | 12 | |
SHA-3-384 | 10 | |
SHA-3-512 | 7 | |
Tiger | 402 | |
Whirlpool | 118 | |
RIPEMD-160 | 38 | |
RIPEMD-320 | 38 | |
RIPEMD-128 | 49 | |
RIPEMD-256 | 54 | |
Panama-LE | 1688 | 1.765 |
Panama-BE | 61 | 5.560 |
Salsa20 | 879 | 0.685 |
Salsa20/12 | 1367 | 0.726 |
Salsa20/8 | 1903 | 0.725 |
Sosemanuk | 1354 | 3.011 |
MARC4 | 93 | 7.142 |
SEAL-3.0-LE | 58 | 178.711 |
WAKE-OFB-LE | 47 | 4.077 |
AES/CTR (128-bit key) | 544 | 0.798 |
AES/CTR (192-bit key) | 484 | 0.802 |
AES/CTR (256-bit key) | 418 | 0.868 |
AES/CBC (128-bit key) | 198 | 0.684 |
AES/CBC (192-bit key) | 170 | 0.691 |
AES/CBC (256-bit key) | 149 | 0.742 |
AES/OFB (128-bit key) | 172 | 0.784 |
AES/CFB (128-bit key) | 193 | 0.927 |
AES/ECB (128-bit key) | 660 | 0.316 |
Camellia/CTR (128-bit key) | 24 | 0.961 |
Camellia/CTR (256-bit key) | 20 | 1.149 |
Twofish/CTR | 19 | 10.193 |
Serpent/CTR | 10 | 2.399 |
CAST-256/CTR | 18 | 3.042 |
RC6/CTR | 24 | 6.154 |
MARS/CTR | 15 | 7.689 |
SHACAL-2/CTR (128-bit key) | 15 | 1.665 |
SHACAL-2/CTR (512-bit key) | 15 | 1.787 |
DES/CTR | 16 | 9.277 |
DES-XEX3/CTR | 14 | 9.632 |
DES-EDE3/CTR | 8 | 29.239 |
IDEA/CTR | 15 | 1.885 |
RC5 (r=16) | 26 | 5.145 |
Blowfish/CTR | 30 | 60.719 |
TEA/CTR | 12 | 0.735 |
XTEA/CTR | 16 | 0.723 |
CAST-128/CTR | 23 | 1.129 |
SKIPJACK/CTR | 10 | 8.728 |
SEED/CTR (1/2 K table) | 20 | 1.046 |
Operation | Milliseconds/Operation |
---|---|
RSA 1024 Encryption | 0.12 |
RSA 1024 Decryption | 1.45 |
LUC 1024 Encryption | 0.11 |
LUC 1024 Decryption | 2.36 |
DLIES 1024 Encryption | 0.64 |
DLIES 1024 Encryption with precomputation | 2.51 |
DLIES 1024 Decryption | 1.59 |
LUCELG 512 Encryption | 0.43 |
LUCELG 512 Encryption with precomputation | 0.43 |
LUCELG 512 Decryption | 0.83 |
RSA 2048 Encryption | 0.21 |
RSA 2048 Decryption | 4.81 |
LUC 2048 Encryption | 0.21 |
LUC 2048 Decryption | 7.56 |
DLIES 2048 Encryption | 2.44 |
DLIES 2048 Encryption with precomputation | 4.69 |
DLIES 2048 Decryption | 4.14 |
LUCELG 1024 Encryption | 1.18 |
LUCELG 1024 Encryption with precomputation | 1.19 |
LUCELG 1024 Decryption | 1.86 |
RSA 1024 Signature | 1.43 |
RSA 1024 Verification | 0.12 |
RW 1024 Signature | 2.51 |
RW 1024 Verification | 0.08 |
LUC 1024 Signature | 2.39 |
LUC 1024 Verification | 0.10 |
NR 1024 Signature | 0.35 |
NR 1024 Signature with precomputation | 0.76 |
NR 1024 Verification | 0.35 |
NR 1024 Verification with precomputation | 1.42 |
DSA 1024 Signature | 0.37 |
DSA 1024 Signature with precomputation | 0.76 |
DSA 1024 Verification | 0.37 |
DSA 1024 Verification with precomputation | 1.40 |
LUC-HMP 512 Signature | 0.43 |
LUC-HMP 512 Signature with precomputation | 0.44 |
LUC-HMP 512 Verification | 0.47 |
LUC-HMP 512 Verification with precomputation | 0.47 |
ESIGN 1023 Signature | 0.32 |
ESIGN 1023 Verification | 0.11 |
ESIGN 1536 Signature | 0.50 |
ESIGN 1536 Verification | 0.18 |
RSA 2048 Signature | 4.80 |
RSA 2048 Verification | 0.21 |
RW 2048 Signature | 7.15 |
RW 2048 Verification | 0.15 |
LUC 2048 Signature | 7.60 |
LUC 2048 Verification | 0.21 |
NR 2048 Signature | 1.25 |
NR 2048 Signature with precomputation | 1.20 |
NR 2048 Verification | 1.36 |
NR 2048 Verification with precomputation | 2.17 |
LUC-HMP 1024 Signature | 1.20 |
LUC-HMP 1024 Signature with precomputation | 1.22 |
LUC-HMP 1024 Verification | 1.30 |
LUC-HMP 1024 Verification with precomputation | 1.29 |
ESIGN 2046 Signature | 0.61 |
ESIGN 2046 Verification | 0.20 |
XTR-DH 171 Key-Pair Generation | 0.70 |
XTR-DH 171 Key Agreement | 1.38 |
XTR-DH 342 Key-Pair Generation | 1.38 |
XTR-DH 342 Key Agreement | 2.74 |
DH 1024 Key-Pair Generation | 0.35 |
DH 1024 Key-Pair Generation with precomputation | 1.29 |
DH 1024 Key Agreement | 1.62 |
DH 2048 Key-Pair Generation | 1.28 |
DH 2048 Key-Pair Generation with precomputation | 2.41 |
DH 2048 Key Agreement | 4.05 |
LUCDIF 512 Key-Pair Generation | 0.23 |
LUCDIF 512 Key-Pair Generation with precomputation | 0.23 |
LUCDIF 512 Key Agreement | 0.80 |
LUCDIF 1024 Key-Pair Generation | 0.61 |
LUCDIF 1024 Key-Pair Generation with precomputation | 0.62 |
LUCDIF 1024 Key Agreement | 1.91 |
MQV 1024 Key-Pair Generation | 0.34 |
MQV 1024 Key-Pair Generation with precomputation | 0.72 |
MQV 1024 Key Agreement | 0.74 |
MQV 2048 Key-Pair Generation | 1.21 |
MQV 2048 Key-Pair Generation with precomputation | 1.15 |
MQV 2048 Key Agreement | 2.52 |
ECIES over GF(p) 256 Encryption | 8.21 |
ECIES over GF(p) 256 Encryption with precomputation | 5.80 |
ECIES over GF(p) 256 Decryption | 5.82 |
ECDSA over GF(p) 256 Signature | 4.19 |
ECDSA over GF(p) 256 Signature with precomputation | 2.97 |
ECDSA over GF(p) 256 Verification | 10.26 |
ECDSA over GF(p) 256 Verification with precomputation | 5.26 |
ECDHC over GF(p) 256 Key-Pair Generation | 4.13 |
ECDHC over GF(p) 256 Key-Pair Generation with precomputation | 2.92 |
ECDHC over GF(p) 256 Key Agreement | 4.17 |
ECMQVC over GF(p) 256 Key-Pair Generation | 4.12 |
ECMQVC over GF(p) 256 Key-Pair Generation with precomputation | 2.90 |
ECMQVC over GF(p) 256 Key Agreement | 10.32 |
ECIES over GF(2^n) 233 Encryption | 47.32 |
ECIES over GF(2^n) 233 Encryption with precomputation | 13.44 |
ECIES over GF(2^n) 233 Decryption | 26.71 |
ECDSA over GF(2^n) 233 Signature | 23.81 |
ECDSA over GF(2^n) 233 Signature with precomputation | 6.82 |
ECDSA over GF(2^n) 233 Verification | 29.85 |
ECDSA over GF(2^n) 233 Verification with precomputation | 11.59 |
ECDHC over GF(2^n) 233 Key-Pair Generation | 23.74 |
ECDHC over GF(2^n) 233 Key-Pair Generation with precomputation | 6.76 |
ECDHC over GF(2^n) 233 Key Agreement | 23.61 |
ECMQVC over GF(2^n) 233 Key-Pair Generation | 23.72 |
ECMQVC over GF(2^n) 233 Key-Pair Generation with precomputation | 6.71 |
ECMQVC over GF(2^n) 233 Key Agreement | 29.00 |