How can I Encrypt Video in Real Time?

后端 未结 2 477
眼角桃花
眼角桃花 2021-02-06 09:07

I\'m looking for a, preferably open source, library or program to encrypt video in real time for security purposes, not DRM. I\'ve found several decent algorithms, RVEA and VEA,

2条回答
  •  清酒与你
    2021-02-06 09:13

    You are a little vague on the requirements, but if you are simply looking for a very fast method of encrypting a stream of data, then RC4 is still not a bad way to go. It is extremely fast; I think it will be faster than any credible block cipher. And you can use an arbitrarily long key.

    There seems to be quite a bit of talk about RC4 being "old" and needing to be replaced, but I do not think there are any published breaks of it. Of course, if I were the bad guy who broke it, I probably would keep that bit of information close to my chest and use it for a bit of old-fashioned thieving. So who really knows. The primary issue that I think is published is that you should cycle the s-box for some number of iterations before using the keystream. A pdf describing that statistical weakness is available here.

    And this algorithm is available in OpenSSL, which also meets your requirements. I honestly can't say how any of this relates to RVEA; I know nothing about it. A very quick google search turns up mostly hits that require logins to learn about it. Although, one opaque reference seemed to imply that RVEA can use any number of ciphers. Maybe it already supports RC4.

提交回复
热议问题