// this can not happen - still an exception is thrown when it would
// [e.g. fubar] >;-)
String error = "Trying to set password while no MessageDigest is available!";
log.error(error);
NoSuchAlgorithmException nsae = new NoSuchAlgorithmException(error);
throw new InfrastructureException(nsae);
} else {
md.reset();
md.update(password.getBytes());
byte[] hash = md.digest();
this.password = HexUtils.convert(hash);