Encrypt a phrase using a password