Oh, the hacking puzzle is definitely one of the toughest ones in the game. You are NOT alone in finding it really hard...
Me and my team are currently working on a rebalanced version of the game where the hacking puzzle is WAY fairer to the player - so if you want to play it properly, please look forward to that.
Apologies on my behalf! I was the one who wanted it to be hard, and now I've sent so many people into puzzle hell...