how can generate the code for aes algorithm?

 Accepted Answer

Mathworks does not provide a user-accessible AES algorithm.
For legal reasons, we cannot discuss AES algorithms here.

3 Comments

This might be confusing, because there are simple methods for a strong AES encryption using Matlab. But I confirm Walter's statement. I suggest to use other internet resources to find out more details.
Jan
Jan on 20 Feb 2013
Edited: Jan on 26 Jan 2017
[EDITED] I've removed my comment, because it was near to be a political statement.
The US laws do not allow to publish the code on servers in the United States. This means, that you can find the code on servers in other countries. So ask an internet search engine.
The Java bundled with Matlab contains the functions for AES encryption.

Sign in to comment.

More Answers (4)

can anyone provide me with matlab code for image encryption and decryption using aes algorithm

3 Comments

@Abinaya Loganathan: Did you read the above answer? The US laws forbid to publish code for AES encryption and corresponding solutions are removed from the Mathworks pages.
Technically the code could be published, but the poster would have to notify the appropriate part of the USA government. Also, the code could not be something that could be modified by the user for a longer key, which is a major problem because all forms of encryption can easily be modified for longer keys. Discussion of the code would not be permitted without prior permission from the US government.
There is one encryption in the file exchange and Mathworks has approved it (I brought it to their attention). But we cannot talk about how it works.
sir ,so can you suggest other internet souces to find the code

Sign in to comment.

thank you for sharing leach code source If you can help me My thesis project is "Improving data security of centralized leach protocol in wsn with integrating aes algorithm" so, i want a code in matlab R2015a with GUI With regards my Email: tad.gebre@gmail.com

1 Comment

Search on tag:leach for information about leach source code.

Sign in to comment.

How to image encryption and decryption with DES algorithm. Please help for code

1 Comment

For legal reasons, we cannot assist you on this resource. You will need to find a resource which is outside of the "5 Eyes" countries due to international treaties that consider encryption to be a "munition".

Sign in to comment.

VANT encreption using AES AND RSA alogrithm

Categories

Find more on App Building 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!