Local graph-homomorphic processing for privatized distributed systems