Here we have a first idea for hardware encryption. The black rectangle is a bidirectional circuit, where you could shift, invert or make use of logic gates. This is absolutely nothing like BitLocker.
I wondered if it would be possible to buffer overflow attack my self-designed computer.
This is a possible protection against a direct raid on my RAM. But it’s no protection to buffer overflow, not even something like the “Meltdown” bug. And I won’t implement an “Out-of-order-execution” for my program counter and program memory logic.