Cybersecurity Methods For Grid-Connected Power Electronics