ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i m working on very simple agaent and manager of SNMP. i want to comapre DES and AES cryptographic algorithm that i will use in communication being carried out between agent and manager.
i want to know that which paramter i should select through which i can do this comaprison (that which technique is better for secure communication?)
for example the paramters like CPU USAGE, SYSTEM UP TIME, NO.OF PROCESS, MEMORY CAPACITY, STORAGE CAPACITY etc...
can i use these paramter for comparision? i mean by using both (AED & DES)techniques for secure communication if find out these parameters, will these help me to analyze that which technique is better?
please help me out i am so confused about these paramters!
thanx.. these are helpful links but actually these are to understand cryptography and i need to know their performance through some paramters.... that i still didnt get!!
tuxdev
yes! AES is much better than DES but for my project i have to compare the results of both.
for example i will note down the time taken to encrypt and decrypt the message by both techniques.
When you find the source code for your implementation (library) there is usually a benchmark app included so you can test (and check for errors).
To understand the performance you do sort of need to have some understanding of crypto. For instance if you get a data error (say one bit is wrong in one block) then using certain block modes it may be impossible to recover all blocks after, or you may just lose one block, etc (I provided a link above which explained that).
Certain implementations of the code are faster than others either because of the language or just the way it was written. Some versions have optimised code included for specific processors, etc...
It's completely and utterly *pointless* to even consider broken and deprecated algorithms. The other AES candidates like Twofish or Serpent are reasonable to compare with, not DES or Triple-DES. You're not really learning anything when you're stuck on such algorithms.
It's completely and utterly *pointless* to even consider broken and deprecated algorithms. The other AES candidates like Twofish or Serpent are reasonable to compare with, not DES or Triple-DES. You're not really learning anything when you're stuck on such algorithms.
Strike 2:
Quote:
well I dont know about library. as I have simple client and server application and I just have to secure their communication and find out the results.
So you're not even evaluating the algorithms themselves - you're just timing two different implementations (and apparently not even interested in examining the code).
Good luck!
IMHO .. PSM
PS:
Suggestion:
Quote:
1. Find (or write) a program (any! program) that does DES
2. Find a program that does AES
3. Use the "time" command to get timings
4. Write up your results and turn in your assignment
5. Understand this is *not* the way you'd approach the problem in the "real world" (outside of school)
ahaaan... i understand what u people are saying...and thankful to you as u r giving me your time but my problem is that my project topic is approved by my teachers. and the topic was secure simple network management system. in SNMP DES is already implemented even 3DES and AES.
when i told my supervisors they asked me to do analysis of both algorithms. because they can not change my topic.... so its just my department's head's requirement :-( i cant do any thing so just trying to do what they assigned. well i will try my level best to do something different regarding this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.