public final class ShannonEntropyFactory extends Object
ShannonEntropy
from password rules and password data.Modifier and Type | Method and Description |
---|---|
static ShannonEntropy |
createEntropy(boolean dictionaryCheck,
PasswordData passwordData)
Creates a new shannon entropy.
|
static ShannonEntropy |
createEntropy(List<? extends Rule> passwordRules,
PasswordData passwordData)
Creates a new shannon entropy.
|
public static ShannonEntropy createEntropy(List<? extends Rule> passwordRules, PasswordData passwordData)
passwordRules
- to aid in entropy calculationpasswordData
- to aid in entropy calculationpublic static ShannonEntropy createEntropy(boolean dictionaryCheck, PasswordData passwordData)
dictionaryCheck
- whether or not a common passwords dictionary is checked against the passwordpasswordData
- to aid in entropy calculationCopyright © 2003-2024 Virginia Tech. All Rights Reserved.