java.lang.Object
me.gosimple.nbvcxz.resources.BruteForceUtil
public class BruteForceUtil
extends java.lang.Object
Util class for brute force calculations.
- Author:
- Adam Brusselback
-
Constructor Summary
Constructors Constructor Description BruteForceUtil() -
Method Summary
Modifier and Type Method Description static intgetBrutForceCardinality(char character)Calculates the brute force cardinality of a given password.static intgetBrutForceCardinality(java.lang.String password)Calculates the brute force cardinality of a given password.
-
Constructor Details
-
BruteForceUtil
public BruteForceUtil()
-
-
Method Details
-
getBrutForceCardinality
public static int getBrutForceCardinality(java.lang.String password)Calculates the brute force cardinality of a given password. The brut force cardinality is the estimated range of character a brute force method would use to crack the password.- Parameters:
password- the password we are estimating the brute force cardinality- Returns:
- the brute force cardinality
-
getBrutForceCardinality
public static int getBrutForceCardinality(char character)Calculates the brute force cardinality of a given password. The brut force cardinality is the estimated range of character a brute force method would use to crack the password.- Parameters:
character- the password we are estimating the brute force cardinality- Returns:
- the brute force cardinality
-