How (which tool to use) to generate public key