Class AttackTimes.CrackTimeSeconds

  • Enclosing class:
    AttackTimes

    public static class AttackTimes.CrackTimeSeconds
    extends java.lang.Object
    • Constructor Detail

      • CrackTimeSeconds

        public CrackTimeSeconds​(double onlineThrottling100perHour,
                                double onlineNoThrottling10perSecond,
                                double offlineSlowHashing1e4perSecond,
                                double offlineFastHashing1e10PerSecond)
    • 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.