instructions for generating secret key