@Test public void verifyPasswordAndSaltGenerateConsistentValue() { assertEquals(CryptoUtils.hashPassword("password", "WJK2Zv3oy4VC2t0eilUxWQ=="), "LumJwyW0UKSgltUzn9g1WMdwef29MOYXtqgJf8PVcZaw96U4oCidS0QZLlTHjKfXkT0/xvxk+LGRyIiniDwGQg=="); assertEquals(CryptoUtils.hashPassword("password", "WJK2Zv3oy4VC2t0eilUxWQ==", 4096), "SOvuBHsNrEKz3mKsJ8cJW3xZ6NrgVlIy8gBjXUqo3f/j6gm0VnhT/OYus0QpvxBVyy3EkUs8dj8phqGVXDstGw=="); }
public static String hashPassword(String password, String passwordSalt) { return hashPassword(password, passwordSalt, DEFAULT_HASH_ITERATIONS); }
CryptoUtils { public static String hashPassword(String password, String passwordSalt) { return hashPassword(password, passwordSalt, DEFAULT_HASH_ITERATIONS); } }
CryptoUtils { public static String hashPassword(String password, String passwordSalt) { return hashPassword(password, passwordSalt, DEFAULT_HASH_ITERATIONS); }  }
CryptoUtils { public static String hashPassword(String password, String passwordSalt) { return hashPassword(password, passwordSalt, DEFAULT_HASH_ITERATIONS); }  static String generateSalt(); static String hashPassword(String password, String passwordSalt); static String hashPassword(String password, String passwordSalt, int iterations); }
CryptoUtils { public static String hashPassword(String password, String passwordSalt) { return hashPassword(password, passwordSalt, DEFAULT_HASH_ITERATIONS); }  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; }