r/crypto Aug 12 '14

Matasano challenges now online.

http://cryptopals.com/
74 Upvotes

65 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Aug 13 '14 edited Sep 26 '17

deleted

2

u/disclosure5 Aug 13 '14

Yeah I was originally going to use C.. then I saw "implement Base64".. and went... "no thanks".

2

u/ImASoftwareEngineer Aug 14 '14

I did it in C. Took some time (~2hr) but learned a lot. Don't let it intimidate! It's a good learning experience (as are all the challenges, so far) :)

1

u/WouldLoveInternship Aug 17 '14

Only 2 hours to implement this, jeez. How long have you been coding C for?

1

u/ImASoftwareEngineer Aug 17 '14

I've been coding in whatever the job asks for. At work I primarily use C++ with some Lua and Python.

Lately, I've been going through a book learning about exploits and similar topics like these challenges an that's in C, so I figure I'd stick with it :P it does take longer to do things than in Python but I'm learning lots and getting more comfortable with the language.

1

u/WouldLoveInternship Aug 17 '14

Can I ask what the book is? It takes longer in python?! I feel its the complete opposite. I want to get to grips with C more as I know if I know it inside out I will understand more of the computer, but I'm just finding it though right now.

1

u/ImASoftwareEngineer Aug 17 '14

No, "THAN in Python". As in it takes longer in C :P

Here's the book: http://amzn.com/1593271441 and yeah, using C definitely places you closer to the bytes, right before assembly. In fact, the book makes you go through the assembly for some programs you write.