There is an actual solution - full memory encryption on recent Intel/AMD CPUs.
17 karma · joined January 30, 2024
Which is why you only use it when you really need it - on a GPU/AI accelerator.
Numba is for the first part, where you might need to process billions of messages to extract signals.
You can try twisting numpy/pandas into a solution, but it might be much simpler to just write a dumb numba function which will be easier to maintain since the logic will be very clear.