Adds Paillier's public key in photosDTO