can i get code for image encryption/decryption
古いコメントを表示
i require code for picture encryption/decryption process.
can any one provide.........
2 件のコメント
Walter Roberson
2013 年 11 月 27 日
AES is one of the encryption systems that we absolutely may not discuss code for, due to legal reasons.
Walter Roberson
2017 年 8 月 12 日
No, using a random phrase key exceeds the legal limits imposed by the USA Department of Commerce as to what encryption theory or encryption code it is legal to discuss without pre-approval of the topic limits and list of participants by that department. The encryption code I posted below is at the outer limits of what can be posted here, and I have always worried whether I in fact exceeded the limits. In some countries it would be enough to get me arrested these days.
採用された回答
その他の回答 (2 件)
Walter Roberson
2013 年 11 月 23 日
0 投票
The input for cryptographic algorithms is generally not plain text. If you do happen to have such an algorithm on hand, you could use base64 encoding or uuencoding (the two are very similar) to represent the input as plain text.
(Note: we will not be able to discuss details of non-trivial cryptographic routines here for legal reasons. We can, though, mention use of cryptographic routines if we do not discuss implementation or the theory of how they work.)
Walter Roberson
2013 年 11 月 27 日
Encryption code, for a vector of uint8:
outvector = invector + 1;
outvector(invector == 255) = 0;
Decryption code, for a vector of uint8:
outvector = invector - 1;
outvector(invector == 0) = 255;
カテゴリ
ヘルプ センター および File Exchange で Encryption / Cryptography についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!