The ENCRYPTO group put together an implementation of garbled circuits protocols called Tasty a good while ago if it helps anyone. https://github.com/encryptogroup/tasty
basically homomorphic encryption is being able to perform mathematical operations against encrypted values. So you can for example add two numbers and get an accurate result (also encrypted) with zero knowledge of the underlying values before or after the operation.