So, I am beginner in C, and I really want to do pset2's hacker edition. I've already finished intitials.c in the hacker edition, now I need to do crack.c. So, I've tried to understand the crypt man page, but I couldn't understand much (actually, almost nothing). So, my questions are: Is crack.c doable for a beginner? Why should I include #define _XOPEN_SOURCE and #include <unistd.h> in the code? How does the crypt function works? Thank you.

1 Answer 1


Post the code, tell us which sections you understand and what you don't. Show that you've made an effort so that we can assist you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .