前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >CISSP考试指南笔记:3.15 对称系统的类型

CISSP考试指南笔记:3.15 对称系统的类型

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

Data Encryption Standard


DEA is the algorithm that fulfills DES, which is really just a standard.

DES is a symmetric block encryption algorithm. It uses a 64-bit key: 56 bits make up the true key, and 8 bits are used for parity.

DES Modes

Electronic Code Book (ECB)

ECB mode operates like a code book. This mode is the fastest and easiest, so we use it to encrypt small amounts of data, such as PINs, challenge-response values in authentication processes, and encrypting keys. Some important characteristics of ECB mode encryption are as follows: • Operations can be run in parallel, which decreases processing time. • Errors are contained. • It is only usable for the encryption of short messages. • It cannot carry out preprocessing functions before receiving plaintext.

Cipher Block Chaining (CBC)

Cipher Block Chaining (CBC) mode does not reveal a pattern because each block of text, the key, and the value based on the previous block are processed in the algorithm and applied to the next block of text

Cipher Feedback (CFB)

Cipher Feedback (CFB) mode is really a combination of a block cipher and a stream cipher.

Output Feedback (OFB)

Output Feedback (OFB) is a mode that a block cipher can work in when it needs to emulate a stream because it encrypts small amounts of data at a time, but it has a smaller chance of creating and extending errors throughout the full encryption process.

Counter (CTR) mode

Counter (CTR) mode is very similar to OFB mode, but instead of using a randomly unique IV value to generate the keystream values, this mode uses an IV counter that increments for each plaintext block that needs to be encrypted. The unique counter ensures that each block is XORed with a unique keystream value.

Triple-DES


3DES can work in different modes, and the mode chosen dictates the number of keys used and what functions are carried out:

  • DES-EEE3 Uses three different keys for encryption, and the data is encrypted, encrypted, encrypted.
  • DES-EDE3 Uses three different keys for encryption, and the data is encrypted, decrypted, encrypted.
  • DES-EEE2 The same as DES-EEE3, but uses only two keys, and the first and third encryption processes use the same key.
  • DES-EDE2 The same as DES-EDE3, but uses only two keys, and the first and third encryption processes use the same key.
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021/01/23 ,如有侵权请联系 cloudcommunity@tencent.com 删除

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

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

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

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Data Encryption Standard
    • DES Modes
    • Triple-DES
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档