Secure Computation In Decentralized Systems