-
Your Name정진우 QuestionKorean오늘 수업시간에 배운 Cipher block chaining mode에 대해 질문이 있습니다. Encryption 시에 첫 block에 대해 Initial Vector로 먼저 XOR을 진행한다고 했는데, 그러면 decryption 하는 쪽에서는 이 Initial Vector 값을 어떻게 알 수 있나요? 이 값을 알지 못하면 첫 block에 대한 해독이 불가능할 것 같아서요. EnglishI have a question about the Cipher Block Chaining mode that we learned in class today. During encryption, it was mentioned that the first block is XORed with an Initial Vector. So, how does the decryption side know the value of this Initial Vector? It seems that without knowing this value, it would be impossible to decrypt the first block. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Korean그러한 이유로 인해 iv는 암호화, 복호화 과정에서 공유되어야 한다고 알고 있습니다. EnglishFor that reason, IV must be shared during both encrypting and decrypting ends. |
Beta Was this translation helpful? Give feedback.
-
IV 는 암호문을 전달할 때 같이 전달해야합니다. 하지만 IV 자체가 비밀정보는 아닙니다. 공개되어도 됩니다. 대신 재사용하면 문제가 발생할 뿐이지요. |
Beta Was this translation helpful? Give feedback.
Korean
그러한 이유로 인해 iv는 암호화, 복호화 과정에서 공유되어야 한다고 알고 있습니다.
대신 iv를 재사용하지 않는 것이 중요합니다.
iv는 같은 평문의 암호화 결과가 달라지도록 하기 위해 사용되기 때문입니다.
만약 iv가 사용된다면 같은 평문의 암호화 결과가 같아지므로 위험합니다.
English
For that reason, IV must be shared during both encrypting and decrypting ends.
However, it is important not to reuse IV.
IV is used to differentiate the encrypted result even if the plaintext is the same.
If IV is used, the encryption result of the same plaintext will be the same, which can be used to infer the plaintext.