Fully Homomorphic Encryption Using Ideal Lattices