Generate Salt and Encrypt Password

Read the title.