isValidEntropyBitLen static method

bool isValidEntropyBitLen(
  1. int bitLen
)

Validates if the given bit length for entropy is within the acceptable range (88 to 528 bits).

Implementation

static bool isValidEntropyBitLen(int bitLen) {
  return bitLen >= 88 && bitLen <= 528;
}