code: public static BigDecimal getGuessesFromEntropy(final Double entropy)
      {
          final Double guesses_tmp = Math.pow(2, entropy);
          return new BigDecimal(guesses_tmp.isInfinite() ? Double.MAX_VALUE : guesses_tmp).setScale(0, RoundingMode.HALF_UP);
      }
docs: Gets the number of guesses from the entropy passed in.
  
  @param entropy a {@code Double} representing the number of guesses.
  @return guesses {@code BigDecimal} that is calculated based on the entropy.