Enhancing Security in Resource-Constrained Cryptographic Devices: A Lightweight Countermeasure Approach | IEEE Conference Publication | IEEE Xplore