Applying Homomorphic Encryption To A Cross Domain Problem