Am doing some work on privacy preserving classification on encrypted dataset. Pls really need a clarification. I encrypted a dataset (plaintext) with AES scheme and get a cypher text. I was able to use a machine learning tool WEKA to do a data mining operation(train and classify) on the cypher text I decrypt the cypher text and discovered that the decrypted result matches the one I obtained when the same operation was performed on plaintext. Can this operation be termed Homomorphic?
No, it cannot. The idea is that homomorphic operations take place on the ciphertext, not on the plaintext. This is clearly described by the Wikipedia article on homomorphic encryption.
You can do limited homomorphic operations on AES ciphertext. For instance, if you perform CTR (counter) mode encryption then you can XOR one or more bits, and the result will be that, after decryption, the plaintext will also have those same bits flipped. So here the operation takes place on the ciphertext but it has the same effect on the plaintext without affecting the confidentiality of the message.
In general however homomorphic encryption will be performed on forms of encryption based on mathematical operations, such as modular exponentiation used for raw RSA. As the encryption/decryption operation itself are mathematical constructs it is easier to perform operations on the ciphertext that have the same effect on the plaintext, such as multiplication (the first example in the Wikipedia page).
Full homomorphic encryption, where you can do an unlimited amount of operations on the ciphertext, remains elusive.
Your question could also be read that you simply try to learn things from the ciphertext. Now unless you perform deterministic encryption you should not learn anything from the ciphertext except its length. If you would learn anything from properly encrypted and randomised ciphertext (i.e. with a proper IV) then the cipher would be broken.
So that would mean that your scheme is broken. You would still not perform homomorphic encryption as:
- learning things from the ciphertext is exactly what (homomorphic) encryption tries to avoid and;
- as you don't alter the ciphertext no morphing is actually performed.
So whichever way you look at it, no, this has nothing to do with homomorphic encryption.