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

1 view (last 30 days)
encryption code in AES algorithm

Accepted Answer

Walter Roberson
Walter Roberson on 5 Mar 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().

More Answers (0)

Categories

Find more on Encryption / Cryptography in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!