Secure Platforms via Stochastic Computing