Description of Figure The Mac Class

Link to figure The Mac Class

This figure consists of boxes labeled as follows:

  • Data: Two boxes are labeled this
  • MAC (HmacMD5): Two boxes are labeled this
  • Shared Secret Key
  • Signal Digest Hash: Two boxes are labeled this
  • If data was the same, the hash is the same

Labeled arrows connect these boxes:

  • update(): From Data #1 to MAC (HmacMD5) #1
  • doFinal(): From Data #1 to MAC (HmacMD5) #1
  • update(): From Data #2 to MAC (HmacMD5) #2
  • doFinal(): From Data #2 to MAC (HmacMD5) #2

Unlabeled arrows connect these boxes:

  • From Shared Secret Key to MAC (HmacMD5) (two separate arrows)
  • From MAC (HmacMD5) #1 to Signed Digest Hash #1
  • From MAC (HmacMD5) #2 to Signed Digest Hash #2
  • From Signed Digest Hash #1 to If data was the same, the hash is the same
  • From Signed Digest Hash #2 to If data was the same, the hash is the same

Oracle and/or its affiliates Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部