See [wiki:"faq/miscelleneous/public-private-key-generation"].