Chapter 10 Summary of five symmetric encryption algorithms and chapter 10 encryption algorithms

Source: Internet
Author: User

Chapter 10 Summary of five symmetric encryption algorithms and chapter 10 encryption algorithms

10.1. DES

  • Cracked, no longer secure,Basically no enterprise is in use
  • It is the cornerstone of symmetric encryption algorithms and has learning value.
  • Key Length: 56 (JDK), 56/64 (BC)

10.2. DESede (Triple DES)

  • Use AES to replace DES
  • The key computing time is too long and the encryption efficiency is not high.Basically no
  • Key Length: 112/168 (JDK), 128/192 (BC)

10.3. AES

  • Most commonSymmetric encryption algorithm
  • Short key establishment time, good sensitivity, low memory requirements (anyway, good)
  • In actual use, the working mode is CTR (preferably implemented using BC). In this mode, the IV parameter (16-bit byte array) needs to be introduced)
  • The key length is 128/192/256, of which 192 and 256 need to be configured with no policy restriction permission file (JDK6)
  • The two most common filling modes are PKCS5Padding and PKCS7Padding, which are only unique to BC.

10.4 IDEA

  • Common email encryption algorithms
  • Work mode only supports ECB
  • The key length is 128 bits.

10.5. PBE

  • The message digest algorithm and symmetric encryption algorithm are integrated. The most common is PBEWithMD5AndDES.
  • The working mode is only CBC (security is lost and is not recommended ).PBE is not recommended.

 

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.