docs: def _join_chars(chars, length):
      """
      Used by the random character functions.
      """
      mult = int(length / len(chars)) + 1
      mult_chars = chars * mult
      return "".join(random.sample(mult_chars, length))