信息网络安全 ›› 2023, Vol. 23 ›› Issue (11): 48-57.doi: 10.3969/j.issn.1671-1122.2023.11.006

• 技术研究 • 上一篇    下一篇

一种基于国密算法的音视频选择性加密方案

许盛伟, 邓烨(), 刘昌赫, 谭莉   

  1. 北京电子科技学院,北京 102627
  • 收稿日期:2023-06-13 出版日期:2023-11-10 发布日期:2023-11-10
  • 通讯作者: 邓烨 dyaipai@163.com
  • 作者简介:许盛伟(1976—),男,江西,教授,博士,CCF会员,主要研究方向为密码应用、大数据安全|邓烨(1999—),男,安徽,硕士研究生,主要研究方向为密码应用|刘昌赫(1999—),男,山东,硕士研究生,主要研究方向为密码算法|谭莉(1999—),女,湖南,硕士研究生,主要研究方向为密钥管理
  • 基金资助:
    国家重点研发计划(2022YFB3104402);中央高校基本科研业务费专项资金(328202221)

A Selective Encryption Scheme for Audio and Video Based on the National Cryptographic Algorithm

XU Shengwei, DENG Ye(), LIU Changhe, TAN Li   

  1. Beijing Electronic Science and Technology Institute, Beijing 102627, China
  • Received:2023-06-13 Online:2023-11-10 Published:2023-11-10

摘要:

针对目前以国密算法为基础的音视频数据加密方案不完善、加密效率与安全性难以权衡的问题,文章在腾讯实时音视频(Tencent Real-Time Communication,TRTC)架构下设计了一种基于国密算法的音视频选择性加密方案。根据音视频应用的特点与需求提出口令认证与协同签名相结合的身份认证方案,通过分析SM4算法与H.264编码方式的特点,使用SM4-CFB模式对编码后帧内关键语法元素IPM、MVD和RC进行加密,实现了高效的音视频数据选择性加密。实验证明,该方案有效降低了加密数据量,提高了加密速度,并且具有较高的密码安全性和感知安全性。

关键词: 国密算法, 选择性加密, 音视频数据安全, 协同签名

Abstract:

Aiming to address the current issues of imperfect encryption schemes based on national cryptographic algorithm in audio and video data, balancing encryption efficiency and security, this paper designed a selective audio-video encryption scheme within the TRTC audio-video architecture, based on national cryptographic algorithms. The scheme proposed an identity authentication mechanism combining password authentication and collaborative signature, tailored to the characteristics and requirements of audio-video applications. By analyzing the features of the SM4 algorithm and H.264 encoding method, the scheme employed SM4-CFB mode to encrypt key syntax elements such as IPM, MVD, and residual coefficients within encoded frames, achieving efficient selective encryption of audio-video data. Experimental results demonstrate that this approach effectively reduces encrypted data volume, enhances encryption speed, and maintains high levels of cryptographic security and perceptual security.

Key words: national cryptographic algorithm, selective encryption, audio and video data security, co-signature

中图分类号: