# File session.rb, line 37
  def Jabber.gen_random_id(prefix="Jabber4R_", length=16)
    length.times {prefix += HEX[rand(16),1]}
    prefix
  end