Report question

Question: How can I create a key pair in Java, based on a password?