### Question:
CryptoUtils { public static String generateSalt() { RandomNumberGenerator rng = new SecureRandomNumberGenerator(); return rng.nextBytes().toBase64(); }  static String generateSalt(); static String hashPassword(String password, String passwordSalt); static String hashPassword(String password, String passwordSalt, int iterations); static final int DEFAULT_HASH_ITERATIONS; }### Answer:
@Test public void generateSaltIsRandom() { assertFalse(CryptoUtils.generateSalt().equals(CryptoUtils.generateSalt())); assertFalse(CryptoUtils.generateSalt().equals(CryptoUtils.generateSalt())); }