Federated learning with privacy preservation in large-scale distributed systems using differential privacy and homomorphic encryption