I'm creating a sotware and will distribute it as trial to users test It. But if someone unpack my jar and change the bytecode of my licensing classes this guy will be able to create a crack to my software. There is any way to check the hash of my .class files and ensure that everything is ok with it? What are the best ways to protect my software from being hacked?
Asked
Active
Viewed 864 times
1
-
1Implement an hashing validation and run at application boot. – Dario Mar 12 '15 at 15:16
-
@Dario I'm also interested how this can be solved. – Peter Penzov Mar 12 '15 at 15:17
-
1@PeterPenzov Imho http://stackoverflow.com/a/18665423/251741 It's a good guide – Dario Mar 12 '15 at 15:21
2 Answers
0
It can't be done, at best you can slow down the person trying to crack it. Your time is probably better put to developing a great product and ignore people that pirate it.

Icy Creature
- 1,875
- 2
- 28
- 53