With the rapid advancements and use of modern embedded systems, communication technologies, and novel control strategies, the legacy power system is gradually evolving into an advanced cyber-physical energy system-smart grid-with the goal of improving energy efficiency and availability. A variety of distributed control algorithms are being developed for smart grid energy management applications because of their advantages in terms of flexibility, robustness, and scalability. However, these algorithms also increase the vulnerability of the smart grid to adversaries. Thus, there is an urgent need to protect the distributed energy management systems from malicious cyber-attacks. Preliminary work to address the resilience and security issues of distributed energy management in the smart grid is reviewed in this chapter. As an example, a reputation-based resilient distributed energy management algorithm is discussed and demonstrated to guarantee accurate control computations in the presence of misbehaving generation units in the system. The characteristics of the reputationbased resilient distributed energy management algorithm under different network and adversary scenarios are illustrated through several simulation case studies.