Package com.nulabinc.zxcvbn
Class AttackTimes.CrackTimeSeconds
- java.lang.Object
-
- com.nulabinc.zxcvbn.AttackTimes.CrackTimeSeconds
-
- Enclosing class:
- AttackTimes
public static class AttackTimes.CrackTimeSeconds extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CrackTimeSeconds(double onlineThrottling100perHour, double onlineNoThrottling10perSecond, double offlineSlowHashing1e4perSecond, double offlineFastHashing1e10PerSecond)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublegetOfflineFastHashing1e10PerSecond()doublegetOfflineSlowHashing1e4perSecond()doublegetOnlineNoThrottling10perSecond()doublegetOnlineThrottling100perHour()voidsetOfflineFastHashing1e10PerSecond(double offlineFastHashing1e10PerSecond)Deprecated.This method is deprecated.voidsetOfflineSlowHashing1e4perSecond(double offlineSlowHashing1e4perSecond)Deprecated.This method is deprecated.voidsetOnlineNoThrottling10perSecond(double onlineNoThrottling10perSecond)Deprecated.This method is deprecated.voidsetOnlineThrottling100perHour(double onlineThrottling100perHour)Deprecated.This method is deprecated.
-
-
-
Method Detail
-
getOnlineThrottling100perHour
public double getOnlineThrottling100perHour()
-
setOnlineThrottling100perHour
@Deprecated public void setOnlineThrottling100perHour(double onlineThrottling100perHour)
Deprecated.This method is deprecated. It is recommended to initialize using the constructor.Sets the time required to crack a password with online throttling at 100 attempts per hour.- Parameters:
onlineThrottling100perHour- Time in seconds for online throttling at 100 attempts per hour.
-
getOnlineNoThrottling10perSecond
public double getOnlineNoThrottling10perSecond()
-
setOnlineNoThrottling10perSecond
@Deprecated public void setOnlineNoThrottling10perSecond(double onlineNoThrottling10perSecond)
Deprecated.This method is deprecated. It is recommended to initialize using the constructor.Sets the time required to crack a password with online attacks without throttling at 10 attempts per second.- Parameters:
onlineNoThrottling10perSecond- Time in seconds for online attacks without throttling at 10 attempts per second.
-
getOfflineSlowHashing1e4perSecond
public double getOfflineSlowHashing1e4perSecond()
-
setOfflineSlowHashing1e4perSecond
@Deprecated public void setOfflineSlowHashing1e4perSecond(double offlineSlowHashing1e4perSecond)
Deprecated.This method is deprecated. It is recommended to initialize using the constructor.Sets the time required to crack a password with offline slow hashing at 1e4 attempts per second.- Parameters:
offlineSlowHashing1e4perSecond- Time in seconds for offline slow hashing at 1e4 attempts per second.
-
getOfflineFastHashing1e10PerSecond
public double getOfflineFastHashing1e10PerSecond()
-
setOfflineFastHashing1e10PerSecond
@Deprecated public void setOfflineFastHashing1e10PerSecond(double offlineFastHashing1e10PerSecond)
Deprecated.This method is deprecated. It is recommended to initialize using the constructor.Sets the time required to crack a password with offline fast hashing at 1e10 attempts per second.- Parameters:
offlineFastHashing1e10PerSecond- Time in seconds for offline fast hashing at 1e10 attempts per second.
-
-