简体   繁体   English

如果数据已知,则检索加密密钥

[英]Retrieving the key of an encryption if the data is known

Is there any possible way or attack to retrieve the key from encrypted data if a part of the original data is known? 如果已知一部分原始数据,是否有任何可能的方法或攻击来从加密数据中检索密钥? Also if a file is compressed and then encrypted, does the compression headers give away any clue to find the key since popular compression format headers are well known? 同样,如果先压缩文件再进行加密,那么由于流行的压缩格式头是众所周知的,那么压缩头是否提供了寻找密钥的线索?

Recovering the key is not possible with a strong encryption system. 强大的加密系统无法恢复密钥。 If you know some of the original data, the plaintext, then the attack is called a "known plaintext attack". 如果您知道某些原始数据(即明文),则该攻击称为“已知明文攻击”。 Strong cyphers are proof against such attacks. 强大的密码可以抵御此类攻击。

The known header to a compressed file is just another form of known plaintext attack. 压缩文件的已知标头只是已知纯文本攻击的另一种形式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM