Last week, I had to create a little GUI for homework. None of my school mates did it. They have stolen my one from where we had to upload it and then they uploaded it again as theirs. When I told my teacher it was all my work he did not believe me.

So I thought of putting a useless method or something inside with a proof that I coded it. I thought of encryption. My best idea up till now:

String key = ("ZGV2ZWxvcGVkIGJ5IFdhckdvZE5U"); //My proof in base64

Can you think of some other better ways?

Edit
Report