java.lang.Object
me.gosimple.nbvcxz.resources.BruteForceUtil
Util class for brute force calculations.
- Author:
- Adam Brusselback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetBruteForceCardinality(char character) Calculates the brute force cardinality of a given password.static intgetBruteForceCardinality(String password) Calculates the brute force cardinality of a given password.
-
Constructor Details
-
BruteForceUtil
public BruteForceUtil()
-
-
Method Details
-
getBruteForceCardinality
Calculates the brute force cardinality of a given password. The brute 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
-
getBruteForceCardinality
public static int getBruteForceCardinality(char character) Calculates the brute force cardinality of a given password. The brute 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
-