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