# File lib/openid/util.rb, line 110
    def Util.num_to_str(n)
      bits = n.to_s(2)
      prepend = (8 - bits.length % 8)
      bits = ('0' * prepend) + bits
      [bits].pack('B*')
    end