isValidEntropyByteLen static method

bool isValidEntropyByteLen(
  1. int byteLen
)

Checks if the provided byte length is valid for generating entropy.

Implementation

static bool isValidEntropyByteLen(int byteLen) {
  return isValidEntropyBitLen(byteLen * 8);
}