MD5

  • 128 bits / 16 Bytes / 32 位 16 进制数 (a “word”)

How

  • Step 1. Append Padding Bits
  • Step 2. Append Length
  • Step 3. Initialize MD Buffer
  • Step 4. Process Message in 16-Word Blocks
  • Step 5. Output
  • XOR, AND, OR , NOT 的符号

Notice that the collision attack on MD5 can also be applied to password-based challenge-and-response authentication protocols such as the APOP (Authenticated Post Office Protocol) option in POP

思路

  • 把一串数据经过处理,得到另一个固定长度的数据

特点

  • 不可逆性
  • 唯一性 ( 不完全可靠

Javascript

References