public final class TimeEstimate extends Object
| Constructor and Description |
|---|
TimeEstimate() |
| Modifier and Type | Method and Description |
|---|---|
static BigDecimal |
getTimeToCrack(Result result,
String guess_type)
Gets the estimated time to crack in seconds.
|
static String |
getTimeToCrackFormatted(Result result,
String guess_type)
Gets the estimated time to crack formatted as a string.
|
public static BigDecimal getTimeToCrack(Result result, String guess_type)
result - a Result object to estimate time to crack for.guess_type - a String representing the estimate type to get time to crack for (defined in Configuration.BigDecimal.public static String getTimeToCrackFormatted(Result result, String guess_type)
result - a Result object to estimate time to crack for.guess_type - a String representing the estimate type to get time to crack for (defined in Configuration.String (instant, seconds, minutes, hours, days, months, years, centuries, infinite).Copyright © 2017. All rights reserved.