What is the best way to generate IV Block for VP8 video codec encryption?

Viewed 19

what is the best way to generate IV Block if we would encrypt VP8 video?

Currently, I successfully encrypt my video frame by generating 12 bytes of random IV Block and then putting it at the end of the encrypted payload to let the decryptor extract the IV block.

But what is the best way if we do not want to transport IV together along the payload? Is it wise that we use the header of the video (For example using the first unencrypted 12 bytes of video data as IV Block) so we do not need to transport the IV together with the payload? In this case, the decryptor can just use the first 12 bytes of the received payload to decrypt the video.

0 Answers
Related