Generating Key Validation