Power-based Side Channel Analysis and Fault Injection: Hacking Techniques and Combined Countermeasure