Internal State Reconstruction via Side-Channels: Universal Principle and Applications to Cryptographic Algorithms | Synapse