“Cryptography ain’t easy. Seemingly small details like how many times a computationally intensive loop runs can give the game away. [Lord Feistel] gives us a demo of how this could work with nothing more than poorly designed code, a resistor, and an oscilloscope.”
https://hackaday.com/2024/07/14/undo-arduino-encryption-with-an-oscilloscope/
https://hackaday.com/2024/07/14/undo-arduino-encryption-with-an-oscilloscope/