* Finally, store the hashed password and its salt in the database.
*/
ByteSource salt = new SecureRandomNumberGenerator().nextBytes();
String hashedPassword = new Sha256Hash(password, salt, 1024).toBase64();
Password newPassword = new Password(userID, hashedPassword, salt.getBytes());
return newPassword;
}