sensor-listener: encryption stored/retrieved from db