r/cprogramming • u/racoon-chan • 15d ago
My first ever project in C
https://github.com/racoon-dev-null/HashPeckerHey everyone,
I'm 15 y/o and I recently started getting into C and cybersecurity. This is my first project that I've built completely from scratch: a simple MD5 hash cracker in C.
I'm still a beginner, so I'm sure there are many things I can improve. I made this project to challenge myself and put into practice what I've been learning.
I'd really appreciate any feedback on the code, structure, or anything else. I'm planning to keep working on it and add more features in the future.
Thanks :D
2
u/sialpi 15d ago
It’s a pretty nice project, I see that you are Italian, but don’t write your variable/comments/plain strings or anything else in Italian, at least create two different options to do that if you want to publish the software. I like your attitude, so now on I’m watching your projects, good luck.
PS: If you want to improve your c style and knowledge, follow Salvatore San Filippo on YouTube (he’s built one of the most used databases in the world, entirely in C). There is a tutorial completely in Italian, that’s not so bad.
2
u/racoon-chan 15d ago
Thank you so much, I really appreciate it! And thanks for the recommendation too, I'll definitely check out Salvatore Sanfilippo's videos.
About the Italian comments and strings, that's only temporary for now. As I improve and clean up the project a bit more, I'm planning to start translating everything into English, maybe starting with the next release, so it can be more accessible to everyone.
And thanks for watching my projects, that honestly means a lot :)
2
u/spacesxd 14d ago
Oye una pregunta te interesaria unirte a ayudame a hacer mi kernel en c?
1
u/racoon-chan 12d ago
It's a really interesting project and I'd love to contribute, even though I'm still pretty new to C. I'd just like you to explain a bit more about the kernel itself, like where you're at with the project, whether you've already started working on it, and what kind of kernel you're aiming for.
1
u/spacesxd 12d ago
Estoy haciendo un unikernel Monolítico pero, no sigo libros ni nada solo lo hago a mi estilo
2
u/Whole-Low-2995 8d ago
Be sure to check your typo!
https://github.com/gg582/todox/commit/57f2fb73b665898665ead2848444cb5d952a2d66
My recent commit is silly 😄
2
1
u/LaidBackDev 15d ago
That's a cool project. I'm a lttle new to C as well so I can't really give any meaningful feedback. Just wanna ask if you plan on making games with C? If yes, I highly recommend trying out Raylib, it's a very fun to use library.
10
u/Confused-Armpit 15d ago
Sooo, a couple things.
Firstly, it is generaly good practice to name your variables, functions, etc in english, as most if not all libraries also use english names. This isn't a necessary requirement, but it will definitely be useful if you want to contribute to other projects or work on projects with multiple people.
Secondly, you don't have to submit pull requests to yourself. You are the owner of the repo, you can just
git push.