A privacy-preserving framework for mitigating network attacks in distributed systems using FedGen-AI | Synapse