key distribution center homework 3 - in progress without server/client - only a simulation