I am encrypting a video using AES...The file format that i am using is .avi.
In order to play the encrypted video i need to save the header information of the video before encryption to be able to display the video as a video format(.avi).
I got the header info from this link http://www.fastgraph.com/help/avi_header_format.html
and i am saving the 1st 56 bytes before encryption..
The problem is that the encrypted video is displayed as a video format(.avi) but its not playing..
I am getting error:- The file is corrupted and cannot play
I need to play the encrypted video...
Can anyone help how we can play the encrypted video...
Jump to Post
Why are you trying to do half a job by preserving the header in clear text?
avi | encrypt > secret
secret | decrypt > avi
secret | decrypt | player
All 5 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.