def random_distinct_bytes(length)
      if (length.kind_of?(Array) || length.kind_of?(Range))
        self.entries.sort_by { rand }.slice(0...(length.sort_by { rand }.first))
      else
        self.entries.sort_by { rand }.slice(0...length) 
      end
    end
def random_distinct_bytes(length)
      if (length.kind_of?(Array) || length.kind_of?(Range))
        self.entries.sort_by { rand }.slice(0...(length.sort_by { rand }.first))
      else
        self.entries.sort_by { rand }.slice(0...length) 
      end
    end
Creates an Array of random non-repeating bytes from the character set.

 @param [Integer, Array, Range] length
   The length of the Array of random non-repeating bytes.

 @return [Array<Integer>]
   The randomly selected non-repeating bytes.