Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello eveyone ,recently i have to finish a aes code ,i wanna a light ,the most fastest aes code ,not for the most security situation,just faster and faster ?Masters!!!!Please help me ,thank you very very much !!!

i have a source code for the aes ,but my key is 256bit,the plaintext must be 128bits,how i change the plaintext length,if my plaintext is 256bits,so i have to change the algorithm.how can i do???
Posted
Updated 28-Nov-12 2:25am
v2
Comments
OriginalGriff 26-Nov-12 5:49am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.

Use the "Improve question" widget to edit your question and provide better information.
youngtala 26-Nov-12 7:16am    
thank you ,because of my poor english,i have to do something in tiny platform ,so i need something small,code must be simple and fast,not really security

That's the one I am using: "256bit key - 128bit block - AES"[^]
 
Share this answer
 
Comments
youngtala 26-Nov-12 7:09am    
I have try , i need to do something in mobile platform ,so i need something smaller than these,eg,aes lite for example
nv3 26-Nov-12 7:17am    
Have you tried something yourself, except for crying "Help, Help!"? The source code in CPallini's link is not very bulky, so what do you mean by "something smaller"? If you think you can implement AES with much less code, then be invited to try.
CPallini 26-Nov-12 8:18am    
The code I linked is pretty small. If you really need smaller code than you may also consider using another encryption method.

This is the one I would recommend:

http://www.gladman.me.uk/[^]

It has asm optimization and is faster than anything else I found.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900