Privacy Preserving Intrusion Detection Via Homomorphic Encryption