added cs_random_key and hashed_public_key to Repos