isValidEntropyBitLen static method

bool isValidEntropyBitLen(
  1. int bitLen
)

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

Implementation

static bool isValidEntropyBitLen(int bitLen) {
  return MoneroEntropyGeneratorConst.entropyBitLen.contains(bitLen);
}