C# code to encrypt color image
-
i have done the encryption for black and white images but the processing time is high as the size increases.i want a help to lower the process time. i like to know how to modify for color images.i have done the encryption using the base paper"A hash based image encryption algorithm" from a journal published by Elsevier
-
i have done the encryption for black and white images but the processing time is high as the size increases.i want a help to lower the process time. i like to know how to modify for color images.i have done the encryption using the base paper"A hash based image encryption algorithm" from a journal published by Elsevier
Why would a colour image be any different from black and white? (in terms of how you process it) Also, depending on format of image color and black and white may be the same data size More info on you code please!!!
Life goes very fast. Tomorrow, today is already yesterday.
-
i have done the encryption for black and white images but the processing time is high as the size increases.i want a help to lower the process time. i like to know how to modify for color images.i have done the encryption using the base paper"A hash based image encryption algorithm" from a journal published by Elsevier
you should implement encryption on either a file or a data stream, that would allow you to encrypt just anything, and performance would only depend on amount of data, nothing else. Whether it is a color image, a B/W image, an EXE file, ... it does not matter. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
i have done the encryption for black and white images but the processing time is high as the size increases.i want a help to lower the process time. i like to know how to modify for color images.i have done the encryption using the base paper"A hash based image encryption algorithm" from a journal published by Elsevier
In addition to Luc's suggestion of encrypting off a file stream, have you considered compressing before encrypting? Assuming that your images are not JPG (or some other format that is already compressed) you might get a major benefit from compression.