前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >CISSP考试指南笔记:3.17 消息完整性

CISSP考试指南笔记:3.17 消息完整性

作者头像
血狼debugeeker
发布2021-01-29 10:38:50
5110
发布2021-01-29 10:38:50
举报
文章被收录于专栏:debugeeker的专栏

The One-Way Hash


A one-way hash is a function that takes a variable-length string (a message) and produces a fixed-length value called a hash value.

A message authentication code (MAC) function is an authentication scheme derived by applying a secret key to a message in some form. three basic types of MAC functions: a hash MAC (HMAC), CBC-MAC, and CMAC.

HMAC

图片
图片

CBC-MAC

If a Cipher Block Chaining Message Authentication Code (CBC-MAC) is being used, the message is encrypted with a symmetric block cipher in CBC mode, and the output of the final block of ciphertext is used as the MAC. The sender does not send the encrypted version of the message, but instead sends the plaintext version and the MAC attached to the message. The receiver receives the plaintext message and encrypts it with the same symmetric block cipher in CBC mode and calculates an independent MAC value. The receiver compares the new MAC value with the MAC value sent with the message.

The receiver knows that the message came from the system that has the other copy of the same symmetric key, so MAC provides a form of authentication. It provides data origin authentication, sometimes referred to as system authentication.

Cipher-Based Message Authentication Code (CMAC)

The symmetric algorithm (AES or 3DES) creates the symmetric key. This key is used to create subkeys. The subkeys are used individually to encrypt the individual blocks of a message

图片
图片

剩余内容请看本人公众号debugeeker, 链接为CISSP考试指南笔记:3.17 消息完整性

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/01/23 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • The One-Way Hash
    • HMAC
      • CBC-MAC
        • Cipher-Based Message Authentication Code (CMAC)
        • 剩余内容请看本人公众号debugeeker, 链接为CISSP考试指南笔记:3.17 消息完整性
        领券
        问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档