图像加密核心
confusion和diffusion是图像加密的两个核心操作。
混淆(confusion):确保明文块的(统计)属性不会在相应的密文块中反映出来。相反,每个密文都必须对任何观察者或标准统计测试具有伪随机的外观。
扩散(Diffusion):
就明文而言,要求即使使用相同的密钥进行加密,统计上相似的明文也会产生完全不同的密文。特别地,这要求输入块的任何元素以一种复杂的不规则方式影响输出块的每个元素。
就口令而言,要求即使用于加密相同的明文块,相似的口令也会产生完全不同的密文。这要求口令的任何元素以一种复杂的不规则方式影响输出块的每个元素。此外,这个属性在解密过程中也必须成立,否则入侵者可能通过部分正确猜测用于加密的口令,从观察到的输出中恢复出输入块的部分内容。
文献来源:
Confusion:
Ensures that the (statistical) properties of plaintext blocks are not reflected in the corresponding ciphertext blocks. Instead, every ciphertext has to have a pseudo-random appearance to any observer or standard statistical test.
Diffusion:
In terms of plaintexts: Demands that (statistically) similar plaintexts do result in completely different ciphertexts ev