I am looking for a way to build a blackbox system that can securely run my algorithm and that can output data to a user.
The system would be my own custom linux computer that runs my algorithm and that I would give away to the user. Now what I want is that the user can configure the algorithm through some predefined ports and also receives data from a predefined port. However, the user should not be able to see any source code of the algorithm and at best should not be able to copy the program (however this is not my main regard)
What would be the best approach to do this? It does not have to be super un-hackable security (since this is probably impossible). Just some sort of good security that does not make it too straight forward to see and copy the source code.
The hardware is my custom computer that I can configure how I want it. The program does not need to run anywhere else.