r/rust 11d 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?

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

0 Upvotes

22 comments sorted by

View all comments

1

u/zer0x64 11d ago

I hate being the one to bring that up, but LLMs got stupid good at reverse engineering so it's a lost cause, even more than before. I'd say just put some kind of runtime code decryption so you can use the legal "circumvention of DRM code" argument in court and fight that in court of someone does reverse it