generateMethod method

String generateMethod()

Generates a random valid unencrypted method within minHashes and maxHashes

Implementation

String generateMethod() {
  final baseConfiguration =
      _configurations[_random.nextInt(_configurations.length)];

  final hashCount = minHashes + _random.nextInt(maxHashes - minHashes + 1);

  return '$baseConfiguration$hashCount';
}