These key lengths refer to the strength of the private key. You can think of it as the size of the cipher being used to encode your messages. 2048-bit private keys are exponentially more secure than 1024-bit ones and are the new standard across the industry and are required during the generation process.