SecureMR: Secure MapReduce Computation Using Homomorphic Encryption and Program Partitioning