MD5 Algorithm Description
Author: rufi 2004.06.22
When I want to write an MD5 Algorithm Program, I find that the description of both Chinese and English languages has some inaccuracy and some details.Not clear, or confusing. Finally, I had to come up with the C language source program for debugging, which is not very good at understanding the algorithm.. So I summarized some of the points I found.
1. OriginThe full name of MD5 is message-Digest algorithm 5 (Information-Digest algorithm, which wa
Objective:
Whether the password is stored in the project or whether the file is the same file, will use the MD5 algorithm, today to summarize the MD5 encryption algorithm.
What is MD5 encryption?
MD5 English full name "Message-digest algorithm 5", translated by "Message digest algorithm 5", from the MD2, MD3, MD4 evolved, is a one-way encryption algorithm, is an irreversible encryption method.
What are the characteristics of MD5
MD5
Message Digest algorithm MD5 (Chinese named message Digest Algorithm version fifth) is a hash function widely used in the field of computer security to provide integrity protection for messages. The algorithm's file number is RFC 1321 (R.rivest,mit Laboratory for computer science and RSA Data Security Inc. April 1992). MD5 is message-digest algorithm 5 (Information-Digest algorithm 5), which is used to ensure complete and consistent information transmission. is one of the widely use
A digital signature is used to verify that a particular digital document or message is trustworthy (that is, it is used to validate that the information has not been modified)
A digital certificate is a mechanism that typically uses a user to increase its credibility on a Web site (that is, it is used to verify that the site is a trusted site)
Abstract algorithm (hash algorithm)
MD SeriesCommon algorithms:
MD5, MD4,
A digital signature is used to verify that a particular digital document or message is trustworthy (that is, it is used to validate that the information has not been modified)
A digital certificate is a mechanism that typically uses a user to increase its credibility on a Web site (that is, it is used to verify that the site is a trusted site)
Abstract algorithm (hash algorithm)
MD SeriesCommon algorithms:
MD5, MD4,
value (hash value) to ensure that the information is transmitted in a complete and consistent way. MD5 's predecessor was MD2, MD3 and MD4.MD5 functionInput any length of information, processed, output is 128 bits of information (digital fingerprint);Different inputs get different results (uniqueness);Features of the MD5 algorithm
Compressibility: Any length of data, the length of the calculated MD5 value is fixed
Easy to calculate: It i
MD5 Introduction
MD5 's full name, Message-digest algorithm 5, was developed by the MIT Computer Science Lab and RSA Data Security Inc in the early 90, through MD2, MD3 and MD4.
Message-digest refers to the hash transformation of a byte string (message), which transforms a byte string of any length into a long, large integer. Note that I use the word "byte string" instead of "string" because the transformation is only related to the value of the byt
MD5
The full name of MD5 is message-digest algorithm 5 (Information-Digest algorithm), in the early 90 by MIT Laboratory for Computer and RSA Data Security Inc, Ronald L. Riv EST developed and developed by MD2, MD3 and MD4. is an irreversible encryption algorithm, is currently one of the most reliable encryption algorithm, there is no inverse operation of the program was developed, it corresponds to any string can be encrypted into a unique fixed leng
The full name of MD5 is message-digest algorithm 5 (Information-Digest algorithm), in the early 90 by MIT Laboratory for Computer and RSA Data Security Inc, Ronald L. Riv EST developed and developed by MD2, Md3 and MD4. Its role is to allow bulk information to be "compressed" into a confidential format (that is, to transform a byte string of any length into a long, large integer) before signing the private key with the digital signature software. Whet
/dev/sdb1/dev/sdc1/dev/sdd1To create a RAID5 device:Mdadm--create/dev/md0--level=5--raid-devices=5/dev/sd[c-g]1--spare-devices=1/dev/sdb1To create a RAID 10 device:Mdadm-c/dev/md0-l10-n6/dev/sd[b-g]-x1/dev/sdhCreate a RAID1 0 device:Mdadm-c/DEV/MD0-L1-N2/DEV/SDB/DEV/SDCMdadm-c/DEV/MD1-L1-N2/DEV/SDD/DEV/SDEMdadm-c/DEV/MD2-L1-N2/DEV/SDF/DEV/SDGMdadm-c/DEV/MD3-L0-N3/DEV/MD0/DEV/MD1/DEV/MD2The length of initialization is related to the performance of the
, configured in BIOS before installing OS. Software RAID: implemented via OS.RAID level:RAID-0: Striped volume, Strip RAID-1: mirrored volume, mirror RAID-2. RAID-5 RAID-6 RAID-10 RAID-01 RAID-50 jbod:just a Bunch of Disks; function: Combines the space of multiple disks into a large contiguous space using available empty Room: sum (s1,s2,...)Common levels: RAID-0, RAID-1, RAID-5, RAID-10, Raid-50,jbod2.1, the implementation of soft raidMDADM: Provide management interface for soft raid, add redun
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.