/** * Create a password hash using the default hashing algorithm * * @param input The password * @return The password hash */ public static char[] passwordHash(char[] input) { return passwordHash(input, DEFAULT_HASH_TYPE); }
/** * Create a password hash using the default hashing algorithm * * @param input The password * @return The password hash */ public static String passwordHash(String input) { return passwordHash(input, DEFAULT_HASH_TYPE); }
/** * Create a password hash using the default hashing algorithm * * @param input The password * @return The password hash */ public static String passwordHash(String input) { return passwordHash(input, DEFAULT_HASH_TYPE); }
/** * Create a password hash using the default hashing algorithm * * @param input The password * @return The password hash */ public static char[] passwordHash(char[] input) { return passwordHash(input, DEFAULT_HASH_TYPE); }