Hi everyone .
I want Encrypt a video file(like avi , mkv and etc) and decrypt it .
Is there some library in c# for doing that?
Something like DirectX can do it?
Edited by Alireza_1387, 01 July 2015 - 04:09 AM.
NocRoom - Jan 25 2019 05:20 AM
Bissy - Dec 29 2018 05:31 AM
sonar87 - Nov 03 2018 07:42 PM
LDDbyD - Oct 01 2018 06:33 AM
DaDopeman - Aug 12 2018 07:36 AM
Posted 01 July 2015 - 04:08 AM
Hi everyone .
I want Encrypt a video file(like avi , mkv and etc) and decrypt it .
Is there some library in c# for doing that?
Something like DirectX can do it?
Edited by Alireza_1387, 01 July 2015 - 04:09 AM.
Posted 01 July 2015 - 06:39 AM
If you want to send personal videos to others, there are better ways to do it. Encryption is one of the last options
Posted 01 July 2015 - 02:59 PM
Do you mean something like zip with encryption, or something else?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
Posted 03 July 2015 - 03:06 AM
I want it for military project .We take frames from video and divide it to tiles and change the tiles' places . and this is an encryption .
Posted 03 July 2015 - 12:17 PM
While this sounds like very, very weak encryption, it's really going to depend on the specific file format.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
Posted 21 July 2015 - 03:36 PM
I suggest studying cryptography. I've just recently started learning cryptography, so I don't know much about it, but I do know you can XOR a file with a pseudorandomly generated stream of bits of the same length to implement stream cypher encryption. XOR is great for encryption because the encryption and decryption algorithms are the same. You run the same program to decrypt a file that you run to encrypt it. Cryptography is pretty fascinating stuff, really.
Posted 22 July 2015 - 04:55 AM
I'll add on, I've had the fortune/misfortune of dealing with some military subcontractors. They take encryption VERY seriously. I have a feeling your proposal will not be acceptable for military use.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
Posted 24 August 2015 - 11:53 PM
I'd also addon to the above, I'd not consider myself a cryptogrophy professional, but you may want to consider encrypting the whole file byte by byte, and restore it to it's original form once needed. This allows you to use stronger encryption methods such as AES with a very strong key, and bytes manipulation.