VernamTunnel provides no integrity protection for data sent through the tunnel. This means that an attacker with knowledge of some of the plaintext can easily modify the ciphertext to be the plaintext he wants it to be instead: He just has to replace the ciphertext with ciphertext ⊕ real_plaintext ⊕ fake_plaintext.
You might want to use a MAC or so.
VernamTunnel provides no integrity protection for data sent through the tunnel. This means that an attacker with knowledge of some of the plaintext can easily modify the ciphertext to be the plaintext he wants it to be instead: He just has to replace the ciphertext with
ciphertext ⊕ real_plaintext ⊕ fake_plaintext.You might want to use a MAC or so.