3 ms·
Encryption would work just fine if you used a stream cipher, like ChaCha20. (With a stream cipher, a single bit error in the encrypted data results in a single
by caf 11y ago
Encryption would work just fine if you used a stream cipher, like ChaCha20.
(With a stream cipher, a single bit error in the encrypted data results in a single bit error in the decrypted data).
- Dylan16807 11y agoA block cipher doesn't make errors all that big. Look at the two layer error correction on a CD. That would play extremely well with a block cipher if you wanted to.
- rolfn 11y agoIf the receiver miss a chunk of data, the stream cipher is not able to re-synchronize (as opposed to a video-stream which synchronizes on I-frames)
- caf 11y agoYes, to allow resynchronization you have to send the stream position at the start of each packet.