Click here to Skip to main content
12,757,882 members (38,392 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ Windows
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 can i do???
Posted 26-Nov-12 0:46am
Updated 28-Nov-12 3:25am
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
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

That's the one I am using: "256bit key - 128bit block - AES"[^]
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.

Rate this: bad
Please Sign up or sign in to vote.

Solution 3

This is the one I would recommend:[^]

It has asm optimization and is faster than anything else I found.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100