为了保障实时视频的保密性,视频流需要一种非常有效的加密方法。设计一个视频加密算法最主要的问题是在加密大量实时视频数据的同时还要保持视频播放的流畅性。提出对实时图像的YUV进行加密。YUV和RGB都是色彩空间,两者可以互相转换,YUV将亮度参量和色度参量分开标识,而这样的分开的好处就是不但可以避免相互干扰,还可以降低色度的采样率而不会对图像质量影响太大。当YUV采样比例为4:2:0时,数据压缩率达到50%。为了提高加密效果,文中将YUV分成Y、UV两部分,使用AES、DESede这两种加密算法分别进行加密,并进行了一系列的对比,以获取较好的加密策略。
As used herein,different encryption algorithms for YUV of real-time images mixing encrypted.YUV and RGB color spaces are used to represent the color and could be interchangeable.When sampling ratio for YUV was 4:2:0,YUV data compression ratio reached 50%.In order to improve the effect of encryption,this paper separated YUV into Y and UV.To get a better encryption strategy,while using AES, DESede encryption respectively,this paper conducts a series of contrast.