从加密值+明文中找出AES密钥 [英] Find out the AES key from encrypted value + plaintext

查看:37
本文介绍了从加密值+明文中找出AES密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两张 AES 加密的票证(见下文)和明文.我可以从这些信息中找到 AES 密钥吗?

I have two AES-enrypted tickets (see below) and the plaintexts to it. Can I find the AES key from this information?

加密类型:带有 PKCS#5 填充的 AES CBC 加密

encryption type: AES CBC encryption with PKCS#5 padding

两张加密票:CD46F0E2B829FBF75CA5A93D35CAF5FB3FFB997D7ADB606CD7F82DAE0D79859B84EA91D7D6A7F6FAF45C59DF370F1E31BEEF0000BEEF00000BEEF00000BEEF明文值:20101010

Two encrypted tickets: CD46F0E2B829FBF75CA5A93D35CAF5FB3FFB997D7ADB606CD7F82DAE0D79859B84EA91D7D6A7F6FAF45C59DF370F1E31BEEF0000BEEF0000BEEF0000BEEF0000 Plaintext-value: 20101010

6B4CF1C63C819AA79437BEBF2189F672A40CB30AF1E8B2C7857A2C458DF8DFD286E898D4D6A7F6FAF66B67DD350D1C33BEEF000000BEEF0BEEF0BEEF0BEEF00BEEF0明文值:20101209

6B4CF1C63C819AA79437BEBF2189F672A40CB30AF1E8B2C7857A2C458DF8DFD286E898D4D6A7F6FAF66B67DD350D1C33BEEF0000BEEF0000BEEF0000BEEF0000 Plaintext-value: 20101209

推荐答案

当一个人可以访问一个或多个明文及其相关密文时确定加密密钥的能力被描述为已知明文攻击",其中(根据维基百科)AES(目前)不存在漏洞.

The ability to determine the encryption key when one has access to one or more plaintexts and their associated ciphertexts is described as a "known-plaintext attack", to which (according to Wikipedia) AES is not (currently) known to be vulnerable.

这篇关于从加密值+明文中找出AES密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆