Enhancing Cybersecurity in Onboard Charging Systems of Electric Vehicles: A MATLAB-based Approach | Synapse