Best image encryption algorithm

What is the best algorithm for image encryption that can be coded in matlab?

 采纳的回答

Jan
Jan 2011-3-31

1 个投票

This depends on what you mean by "best": fastest? minimal memory usage? hardest to decrypt by brute force? smallest implementation? most tolerant to types of input? most compatible to other applications?
You can implement all known encryption methods in Matlab. I prefer AES, see: FEX: CryptAES.

4 个评论

Minor correction to Jan's answer:
As is the case with most programming languages, MATLAB cannot be used for encryption methods that require true non-determinism. It also cannot be used for encryption methods that require more than 64 bits of address space.
You have even a process limit of 8TB on 64 bit systems, but fortunately you can easily process the encryption in chunks and you do not have to load the complete data to memory at once.
You can import random values from a webservice, which records chaotic systems, e.g. www.random.org as used by Oleg Komarov's and Giampiero Salvi's FEX submissions. Usually this level of non-determinism is enough.
But you are right: If the method is not primitive recursive, you cannot implement it in Matlab. And if you cannot store the data to be encrypted on a computer, you cannot run the method. :-)
Who said anything about the size of the data? There are encryption methods that require more than 8 TB to process even small data. And clearly an encryption method that requires custom hardware is "better" than an encryption method that can be run on any common computer.
I disagree: If the method need a special hardware, it is "worse".
In my personal opinion, that "best" method encrypts the input to a vector of zeros by using a very specific algorithm. About another at least "very good" method: http://en.wikipedia.org/wiki/Voynich_manuscript

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Encryption / Cryptography 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by