neodammer Posted August 13, 2004 Posted August 13, 2004 Everything on your computer is data of some sort. Movies are no exception to that. Is it possible to take a .avi or .mpeg etc.. and with an algorithim of some sort encrypt all the data of that movie file? That way making it harder for someone to steal the video file inside the program or play it outside of it. This is something ive been pondering a few weeks now as to how one would actually go about encrypting movie data. I dont think its impossible. Quote Enzin Research and Development
Denaes Posted August 13, 2004 Posted August 13, 2004 Everything on your computer is data of some sort. Movies are no exception to that. Is it possible to take a .avi or .mpeg etc.. and with an algorithim of some sort encrypt all the data of that movie file? That way making it harder for someone to steal the video file inside the program or play it outside of it. This is something ive been pondering a few weeks now as to how one would actually go about encrypting movie data. I dont think its impossible. Someone did this with mp3's. Basically they made the "unbreakable" encryption, meaning something like you couldn't pass them on, or they were digitally signed with your personal information so you couldn't share them or de-mp3 them... something. Well after the announcement and release 3 hours later someone emailed them a "broken" encryption. I'm sure similar things are done with digitally signed wmv files. Some you play and they won't let you unless you send some verification. Thats mostly what a codec is. Takes video data and encodes it in a specific way. Some include subtitles, some are just video some video/sound, some add really nice compression, etc. What you're talking about is either: A. encrypted file - like a zip file that's password protected, it's encrypted and you can't get at it unofficially without some great effort B. encrypted media - basically requires a special codec to run. Quote
neodammer Posted August 13, 2004 Author Posted August 13, 2004 hmmm so i take it you couldnt just rearrange bit by bit the data of the file then with same program undo that arrangement ? Quote Enzin Research and Development
Denaes Posted August 13, 2004 Posted August 13, 2004 hmmm so i take it you couldnt just rearrange bit by bit the data of the file then with same program undo that arrangement ? Yeah, you'd do that with an encryption key for the byteshift. I believe thats basically how most basic encrypting is done. We did that in our Assembly course in school for the final project... oh, just with the ascii value of text, nothing as fancy as a movie or any other sort of file. Basically you choose a code that enables a specific 'shift' and the program won't know how to 'unshift' or 'deshift' without that same encryption key. Quote
neodammer Posted August 13, 2004 Author Posted August 13, 2004 interesting here is the steps im going to try to do in my program: 1. Input a movie file 2. save it to a byte array 3. use some simple algy to "shift" the data 4. also in the same program have it "re-shift" the data back to normal upon a click just for testing purposes "the final one will have a key" Now i dont know if a byte array is ideal here, im still thinking in vb 6.0 terms :rolleyes: Quote Enzin Research and Development
Denaes Posted August 13, 2004 Posted August 13, 2004 interesting here is the steps im going to try to do in my program: 1. Input a movie file 2. save it to a byte array 3. use some simple algy to "shift" the data 4. also in the same program have it "re-shift" the data back to normal upon a click just for testing purposes "the final one will have a key" Now i dont know if a byte array is ideal here, im still thinking in vb 6.0 terms :rolleyes: I dunno. It wouldn't have to be a movie file though. You could do it with any sort of file. Heck, you can have it include the key in a header. You encrypt it and it basically rewrites the file with Key+shiftedfile. If you open the file up again, it reads that key (obviously only works with files you encrypt with this program) from the file header. It would be nice for giving out to friends and you could all not worry about others intercepting the data... or hiding your porn -err car movie stash :D Quote
neodammer Posted August 13, 2004 Author Posted August 13, 2004 that would be awesome in terms of binary files :D 1. do what you said and encrypt it and toss a key in the header 2. when somebody imports the file to decrypt it checks the key to see if its a good key 3. if key is good, then decryption starts..including removing the key from header cause WMP wont like that key lol Quote Enzin Research and Development
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.