public class Nbvcxz extends Object
| Constructor and Description |
|---|
Nbvcxz()
Creates new instance with a default configuration.
|
Nbvcxz(Configuration configuration)
Creates a new instance with a custom configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Result |
estimate(String password)
Guess the entropy of a password with the configuration provided.
|
Configuration |
getConfiguration()
Gets the current configuration.
|
static Double |
getEntropyFromGuesses(BigDecimal guesses)
Gets the entropy from the number of guesses passed in.
|
static BigDecimal |
getGuessesFromEntropy(Double entropy)
Gets the number of guesses from the entropy passed in.
|
static void |
main(String... args)
Console application which will run with default configurations.
|
void |
setConfiguration(Configuration configuration)
Sets the configuration.
|
public Nbvcxz()
public Nbvcxz(Configuration configuration)
configuration - a Configuration to be used in all estimates.public static Double getEntropyFromGuesses(BigDecimal guesses)
guesses - a BigDecimal representing the number of guesses.Double that is calculated based on the guesses.public static BigDecimal getGuessesFromEntropy(Double entropy)
entropy - a Double representing the number of guesses.BigDecimal that is calculated based on the entropy.public static void main(String... args)
args - arguments which are ignored!public Configuration getConfiguration()
Configurationpublic void setConfiguration(Configuration configuration)
configuration - a Configuration to be used in all estimates.Copyright © 2017. All rights reserved.