I have to obfuscate ruby code to hide sensitive source. I need to be headed in the right direction in order to achieve what I want, so:
Is there a Ruby alternative for Python's pyc?, I saw version.rbc files inside many gems. How can it be generated? Does this process work for other (complex, not just simple VERSION declaring) kinds of Ruby files?.
RubyEncoder does the job (does it? Help me out here), but it requires to buy a license. That's why I would consider it as my last resort.
Any other suggestion
Write a native extension in C, putting your sensitive code in there, along with enough of the program's critical logic to make the extension essential to the program's execution.
That doesn't make it impossible for someone to bypass or reverse engineer your sensitive code, but it does make it harder. Also, there are better techniques for making compiled code harder to reverse engineer than there are for making Ruby code hard to reverse engineer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With