public static function genpwd(int $int_max = 12, int $int_min = 6): string
  {
    mt_srand();
    $len = ($int_min > 0) && ($int_min < $int_max) ? random_int($int_min, $int_max) : $int_max;
    $mdp = '';
    for( $i = 0; $i < $len; $i++ ){
      // First character is a letter
      $type = $i === 0 ? random_int(2, 3) : random_int(1, 3);
      switch ( $type ){
        case 1:
          $mdp .= random_int(0,9);
          break;
        case 2:
          $mdp .= \chr(random_int(65,90));
          break;
        case 3:
          $mdp .= \chr(random_int(97,122));
          break;
      }
    }
    return $mdp;
  }