How Magnetic And Pulse Attacks On Coin Mechanisms Work