[QUESTION] Is there a way to criptografy an arduino sketch?

Hello, again!

I wanted to know if there is a way to criptografy an arduino sketch, plus the arduino IDE should be able to recognize this...

Just want to send someone my arduino sketch, but this guy should not be able to read/open the file, only the arduino should understand.

How can I do that?

Thanks in advance!

No. You might be able to build a binary .hex file outside of the IDE, and have him/her use avrdude to download the binary to the Arduino, but even there a determined person will just run a disassembler over the .hex file and could figure out what is being done.

Besides, closed source is not really in the spirit of the Arduino project.

Yeah, that was what I thought!

Thanks for the quick answer!