how can encrypt a film
C#
2
Posts
2
Posters
0
Views
1
Watching
-
i wanto encrypt a film and then write a program that only with this program my user can see that film... what's the best solution for this ?
That depends upon the level of security you want. There are several public domain encryption functions out there which are very good. But from a practical viewpoint, if you aren't protecting something extremely valuable, just do something unexpected with the contents of the file. A very weak encryption. It still won't be worth anyone's time to try to figure it out. For instance, for every group of 5 bytes in the file, reverse the order of those 5 bytes. Mark