code for image encryption and text encryption are same or not?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Mzo. de 2013
Yes, the code is exactly the same if you want to encrypt files as a whole. If, though, you want to encrypt the data arrays that make up the image, rather than the file used to store the image, then you would have a small extra step in the image case in order to read in the image file using imread().

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by