Comparison of common encryption algorithms

Source: Internet
Author: User

Symmetric encryption algorithm (identical encryption and decryption keys)

Name

Key Length

Computing speed

Security

Resource Consumption

Des

56

Fast

Low

Medium

3DES

112-bit or 168-bit

Slow

Medium

High

AES

128, 192, 256

Fast

High

Low

 

Asymmetric algorithms (different encryption keys and decryption keys)

Name

Maturity

Security (depends on the key length)

Computing speed

Resource Consumption

RSA

High

High

Slow

High

DSA

High

High

Slow

It can only be used for digital signatures

ECC

Low

High

Fast

Low (low computing workload, low storage space usage, low bandwidth requirements)

 

Hash algorithm comparison

Name

Security

Speed

SHA-1

High

Slow

MD5

Medium

Fast

 

Comparison of symmetric and asymmetric algorithms

Name

Key Management

Security

Speed

Symmetric algorithms

Difficult, not suitable for the Internet, generally used in internal systems

Medium

It is several orders of magnitude faster (Software encryption and decryption speed is at least 100 times faster, and several MB of data can be encrypted and decrypted per second). It is suitable for encryption and decryption of large data volumes.

Asymmetric algorithms

Easy key management

High

Slow, suitable for encryption and decryption of small data volumes or data signature

 

Algorithm selection (combining performance and security)

Symmetric encryption: AES (128-bit ),

Asymmetric encryption: ECC (160-bit) or RSA (1024 ),

Message Digest: MD5

Digital Signature: DSA

 

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.