Implementation of a protocol for secure distributed aggregation of smart metering data