A Password Hash example in java