Comparison of various cryptographic algorithms

Source: Internet
Author: User
Tags comparison table asymmetric encryption

Various cryptographic algorithms comparison algorithm selection: Symmetric encryption AES, asymmetric encryption: ECC, Message digest: MD5, digital signature: DSA

Symmetric encryption algorithm (with the same decryption key)
Name Key length Operation Speed Security Resource consumption
Des 56 Guests More quickly Low In
3DES 112-bit or 168-bit Slow In High
Aes 128, 192, 256-bit Fast High Low

Asymmetric algorithm (encryption key and decryption key are different)
Name Maturity level Security (depends on key length) Operation Speed Resource consumption
Rsa High High Slow High
Dsa High High Slow Can only be used for digital signatures
Ecc Low High Fast Low (less compute, less storage footprint, lower bandwidth requirements)

Hash algorithm Comparison
Name Security Speed
SHA-1 High Slow
MD5 In Fast

Comparison of symmetric and asymmetric algorithms
Name Key Management Security Speed
Symmetric algorithm More difficult, not suitable for the internet, generally used in internal systems In Fast several orders of magnitude (software encryption and decryption speed of at least 100 times times, can decrypt the number of M-bit data per second), suitable for large data volume encryption and decryption processing
Asymmetric algorithms Key easy to manage High Slow, suitable for small data volumes plus decryption or data signing

Algorithm selection (from performance and security synthesis) symmetric encryption: AES (128-bit), Asymmetric encryption: ECC (160-bit) or RSA (1024), Message digest: MD5 Digital Signature: DSA Lightweight: TEA, RC series (RC4), Blowfish (not often changed keys)
Speed rankings (personal estimate, not verified): Idea <des <gasti28<gost<aes<rc4<tea<blowfish

Simple encryption Design: Use the key to make the original or, substitution, substitution, shift

Name Data size (MB) Time (s) Average Speed MB/s Evaluation
Des 256 10.5 22.5 Low
3DES 256 12 12 Low
AES (256-bit) 256 5 51.2 In
Blowfish 256 3.7 64 High



Table 5-3 Single-key cryptographic algorithm performance comparison table
Name Implementation method Operation Speed Security Improvement measures Application situations
Des 40-56bit Key So so Fully dependent on key, easy poor search method attack Double, Sanchong Des,aes Suitable for hardware implementations
Idea 128bit Key 8-wheel iteration More slowly Military grade, resistant to differential analysis and correlation Long word length of 32bit, the key is 256bit, using 232 modulus Plus, 232+1 mode multiplication Suitable for ASIC design
GOST 256bit key 32-wheel iteration More quickly Military grade Increase the number of iteration rounds s box can be randomly selected for easy software implementation
Blowfish 256-448bit Key, 16-round iteration The fastest Military-grade, adjustable security by changing the key length Suitable for fixed key occasions, not suitable for constant exchange keys and smart cards
RC4 Variable Key length Fast DESl0 times Immunity to differential and linear attacks, highly nonlinear Key length relaxed to 64bit Simple algorithm, easy to program and implement
RC5 Variable key length and iteration wheel count The speed can be selected according to the values of three parameters Resistance to linear attacks when wheel or above, by adjusting the word length, key lengths, and number of iterations can compromise security and speed Introduction of data-phase-change Suitable for different lengths of microprocessors
CASTl28 Variable key length, 16-wheel iteration More quickly resistant to linear and differential attacks Increase key length, form CAST256 For PC and UNIX workstations




Common cryptographic algorithms
1, DES (Data Encryption Standard): symmetric algorithm, data encryption standards, faster, suitable for encrypting a large number of data occasions;
2, 3DES (Triple des): is based on des symmetric algorithm, a piece of data with three different keys for three times encryption, higher intensity;
3, RC2 and RC4: symmetric algorithm, using variable-length key to encrypt large amounts of data, faster than DES;
4, Idea (International Data encryption algorithm) International encryption algorithm, using 128-bit key to provide very strong security;
5, RSA: Invented by the RSA company, is a support variable-length key public key algorithm, need to encrypt the length of the file block is also variable, asymmetric algorithm;
6, the DSA (Digital Signature algorithm): The signature algorithm, is a standard DSS (digital signature standard), strictly speaking does not calculate the encryption algorithm;
7, AES (Advanced Encryption Standard): High encryption standards, symmetric algorithm, is the next generation of cryptographic algorithm standard, fast, high security level, in 21st century, an implementation of the AES standard is Rijndael algorithm;
8, BLOWFISH, it uses the variable length key, the length can reach 448 bits, the running speed is very fast;
9, MD5: Strictly speaking is not a cryptographic algorithm, can only be said to be a digest algorithm;
10. Pkcs:the Public-key Cryptography Standards (PKCS) is a set of public key cryptography standards developed by RSA Data Security Inc. and its partners, including certificate requests, certificate updates, certificate deprecation tables, Extend the contents of the certificate and the digital signature, the format of the digital envelope, and a series of related protocols.
11, SSF33,SSF28,SCB2 (SM1): The Secret of the state Password Bureau of the commercial algorithm, in the domestic civil and commercial, in addition to these are not allowed to use, the other can be used;
12, ECC (Elliptic Curves cryptography): Elliptic curve cipher coding.
13. TEA (Tiny encryption algorithm) simple and efficient encryption algorithm, encryption and decryption fast, easy to implement. But security is not as good as des,qq always using tea encryption

Comparison of various cryptographic algorithms

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.