Practically Efficient Protocols for Private Computation using Homomorphic Encryption