My implementation for the first handin for identity and privacy.