generateHash function

int generateHash()

Implementation

int generateHash() {
  Random random = Random();
  return random.nextInt(10000);
}