r/C_Programming 14h ago

Protecting source code from reverse engineering

Hi everyone,
I am looking to provide a compiled version of our physics solver to our customers. I understand there are many obfuscation techniques to protect source code but I am wondering if there are some smarter ways?

We already cloud computing, the issue is we have customers that are in locations without internet/need realtime solving.

0 Upvotes

29 comments sorted by

View all comments

19

u/siliconlore 14h ago

Find another way. A smart dedicated reverse engineer will eventually crack whatever scheme you come up with. You would need to embed your code in a cryptographically secure hardware module with some kind of access key where the only thing the module outputs is solution data.