Hardware-based implementations in Side-Channel Analysis