Learning C  | | |
September 28th, 2004, 01:30 PM
|
#1 (permalink)
| | Member
Join Date: Jul 2002 Location: DC Suburbia
Posts: 190
|
Hey. I have a question for all you programmers out there. I am an Information Security student at Hopkins and one of the courses I'm taking is a crypto course. Now I have been told by EVERYONE that THE language to use for Crypto is C. I have limited C++ experience and would like to work on learning C, the difference between the two, and becoming familiar with the C enviroment.
Can someone out there recomend a good free C compiler, for student use only of course, and a reference page online? Right now I'm running windows XP at home. We DO have access to some old Sparks with a C compiler for assignments on them but I'd rather work at home for learning it, the labs aren't THAT convenient (i.e. 2 am). I'm not looking for something to be secure at all, since this won't be applied to anything, just me learning C and some of the crypto algorithms.
Thanks,
Jon |
| |
September 28th, 2004, 07:35 PM
|
#2 (permalink)
| | Ultimate Member
Join Date: Oct 2001 Location: Pasadena, CA
Posts: 2,177
| |
| |
September 28th, 2004, 07:43 PM
|
#3 (permalink)
| | Not Really a Member
Join Date: Oct 2001
Posts: 25,384
|
I'd suggest learning some linux as well, a friend of mine at work is in security .. a lot of 'security' tools are in linux, including some great IDS tools.
Linux also comes standard with c/c++ compilers.
Snort with a MySQL backend is very popular.
Enterasys dragon IDS systems are redhat based if I remember right.
I'd highly suggest a c background, as a security guy its quite common to find 'tools' that are code only and you have to compile them to use them. Setup a small lan that you can tamper with your own machines to really learn how to access systems.
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
|
| |
September 28th, 2004, 07:48 PM
|
#4 (permalink)
| | Member
Join Date: Sep 2004 Location: Your living room...
Posts: 417
|
__________________
I reserve the right to contradict myself. . .
Last edited by gberz3 : September 28th, 2004 at 07:52 PM.
|
| |
September 28th, 2004, 07:52 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Dec 2003
Posts: 3,991
|
__________________
Hey who turned sigs on?
|
| |
September 28th, 2004, 07:56 PM
|
#6 (permalink)
| | Ultimate Member
Join Date: Sep 2003 Location: Philadelphia
Posts: 1,484
|
"Now I have been told by EVERYONE that THE language to use for Crypto is C."
Huh, Im sorry but this is b$, I mean writing a good encrypter can be done in any language, as long as youre using a good algorithm. That would be like saying the fastest programs are written in assembler. |
| |
September 28th, 2004, 07:56 PM
|
#7 (permalink)
| | Member
Join Date: Sep 2004 Location: Your living room...
Posts: 417
| |
| |
September 28th, 2004, 08:00 PM
|
#8 (permalink)
| | Member
Join Date: Sep 2004 Location: Your living room...
Posts: 417
| Quote: |
Originally Posted by elmers "Now I have been told by EVERYONE that THE language to use for Crypto is C."
Huh, Im sorry but this is b$, I mean writing a good encrypter can be done in any language, as long as youre using a good algorithm. That would be like saying the fastest programs are written in assembler. | Yes, and no. I mean, I could write a GUI using PERL or LISP, but i certainly wouldn't want to. The point is C is currently the best power vs. usability option for crypto. For a reference, you may wish to check out: Cryptlib
Last edited by gberz3 : September 28th, 2004 at 08:03 PM.
|
| |
September 29th, 2004, 09:42 AM
|
#9 (permalink)
| | Ultimate Member
Join Date: Sep 2003 Location: Philadelphia
Posts: 1,484
|
LISP encryper...now thats funny. I see your point. |
| |
September 29th, 2004, 10:04 AM
|
#10 (permalink)
| | may contain mild peril
Join Date: Oct 2001 Location: UK
Posts: 3,329
| Quote: |
Im sorry but this is b$, I mean writing a good encrypter can be done in any language
| I would think speed would influence the decision for some people, hence the choice of C. Quote: |
but every C program is also a C++ program, so they are very similar
| I suggest you concentrate on learning either C or C++ (rather than both at once), they are radically different in many respects and you will just end up writing a horrible kludgy mix of the two (I should know, thats how it was taught to me at uni). Quote: |
LISP encryper...now thats funny.
| Funny how? Google seems to turn up plenty of lisp based encryption stuff including a Rijndael implementation.
Last edited by SpookyEddy : September 29th, 2004 at 10:07 AM.
|
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |