Click here to Skip to main content
Sign Up to vote bad
good
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:46
Edited 28 Nov '12 - 2:25

Comments
OriginalGriff - 26 Nov '12 - 5:49
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:16
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

2 solutions

That's the one I am using: "256bit key - 128bit block - AES"[^]
  Permalink  
Comments
youngtala - 26 Nov '12 - 7:09
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:17
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:18
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.
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 OriginalGriff 236
2 Sergey Alexandrovich Kryukov 198
3 Mayur_Panchal 153
4 CPallini 100
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,236
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid