The invention discloses a real-time data encryption transmission method for VoIP, which belongs to the technical field of digital network. The method includes the communication establishment phase and the communication data transmission phase, and adopts different data encryption strategies at the two stages. The invention also provides an improved AES encryption method in the encryption / decryption, the data according to each 128 bit block, and then every group n extraction group M data and extracted data in accordance with the original sequence into a new bit string of bits; the new string AES encryption / decryption; the encryption / decryption of the bit string according to each length of 128 x m bit split, and each group was split according to the original order of selected backfill to extract data after the encryption and decryption of data, get the data encryption / decryption; m and N are natural number. The invention has improved the traditional mixed key encryption technology, and can flexibly make the best tradeoff between the security of the data transmission and the real-time performance according to the actual needs.
【技术实现步骤摘要】
【技术保护点】
1.一种用于VoIP的实时数据加密传输方法,其特征在于,包括:通信建立阶段:双方保存有对方用于身份认证以及初始通信时的RSA公钥;通信发起方生成用于通信数据传输阶段的至少包含AES密钥的AES加密信息,并将生成的AES加密信息使用通信发起方的通信用RSA私钥进行RSA加密,生成通信信息的数据部分;然后用通信发起方的签名用RSA私钥对该通信信息的数据部分进行数字签名,生成通信信息数据包,并将该通信信息数据包发送给通信响应方;通信响应方收到通信信息数据包后,首先使用存储的通信发起方的签名用RSA公钥进行通信信息数据包的签名的确认,签名确认通过之后使用存储的发送方的初始通信时的R ...
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。