The sixth chapter three big message Summary algorithm summary

Source: Internet
Author: User

6.1, MD5

  • It is recommended to use CC (i.e. Commons Codec) for
  • Although it has been cracked, it is still widely used to register login modules and verify the integrity of downloaded files
  • You can write a registered login module yourself, download a MD5 encrypted file yourself, and then verify it by using the tool class (or the CC method) you previously wrote (for example, in Java Encryption and decryption Art (second edition))

6.2. SHA

  • It is recommended to use CC (i.e. Commons Codec) for
  • SHA1 has been cracked, SHA256 is widely used to register login modules and verify the integrity of downloaded files, and SHA256 is also useful in spring security
  • You can write a registered login module yourself, download a SHA Encrypted file yourself, and then verify it by using the tool class (or the CC method) you wrote earlier
  • MD5 and Sha are often used as signature algorithms for digital certificates (which can be said later), but Sha is more common

6.3. MAC

  • The addition of keys to the MD and SHA series algorithms makes the security level the best of three methods

The sixth chapter three big message Summary algorithm summary

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.