Click here to Skip to main content
Rate this: bad
good
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 algorithm.how can i do???
Posted 25-Nov-12 23:46pm
Edited 28-Nov-12 2:25am
v2
Comments
OriginalGriff at 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 at 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
good
Please Sign up or sign in to vote.

Solution 1

That's the one I am using: "256bit key - 128bit block - AES"[^]
  Permalink  
Comments
youngtala at 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 at 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 at 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
good
Please Sign up or sign in to vote.

Solution 3

This is the one I would recommend:
 
http://www.gladman.me.uk/[^]
 
It has asm optimization and is faster than anything else I found.
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 430
1 CHill60 410
2 Sergey Alexandrovich Kryukov 394
3 PIEBALDconsult 245
4 BillWoodruff 220


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2014
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