hash public key when creating the repo & return with error if random key is not produced