A new integer based homomorphic encryption scheme with application to data security in cloud computing