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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Mär. 2013

0 Stimmen

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().

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by