I'm not sure how keys are generated, but I assume it should be encoded here