A Hybrid Dynamic Gold Code Architecture Resilient to Side-Channel Analysis Attacks in 180-nm CMOS