1 / 7

256 位密钥 AES 算法实现

256 位密钥 AES 算法实现. 课程实验 2013-4-2. 1 算法架构. 实验要求 256 比特密钥 加密 128 比特消息分组 。消息和密钥的排列如同课程 2.3.3 节描述,但密钥形成 4 × 8 的矩阵。 这时算法由 14 轮成,每一轮使用原始密钥或其产生的密钥。第 0 轮使用原始的 256 比特密钥之中的前 128 比特。每一轮都是 128 比特输入 128 比特输出。. Shift Row ( SR ). Byte Sub ( BS ). Mix Column ( MC ). Add Round Key ( ARK ).

amber-ryan
Download Presentation

256 位密钥 AES 算法实现

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 256位密钥AES算法实现 课程实验 2013-4-2

  2. 1 算法架构 实验要求256比特密钥加密128比特消息分组。消息和密钥的排列如同课程2.3.3节描述,但密钥形成4×8的矩阵。 这时算法由14轮成,每一轮使用原始密钥或其产生的密钥。第0轮使用原始的256比特密钥之中的前128比特。每一轮都是128比特输入128比特输出。

  3. Shift Row (SR) Byte Sub (BS) Mix Column (MC) Add Round Key (ARK) 1 算法架构(续) 轮变换

  4. 2 关于层 (1) 字节转换(BS)与课程2.3.3节描述完全相同。 (2) 移动行变换(SR)与课程2.3.3节描述完全相同。 (3) 混合列变换(MC)与课程2.3.3节描述完全相同。 (4) 轮密钥加密变换(ARK)与课程2.3.3节描述基本相同,唯一区别是每次只选择消息分组大小相同的子密钥进行按位异或。

  5. 3 关于子密钥产生

  6. 4 关于解密 解密过程与课程2.3.3节描述相同。解密秘钥反向使用加密密钥。

  7. 谢谢!

More Related