# File lib/compat/securerandom.rb, line 131
    def self.hex(n=nil)
      random_bytes(n).unpack("H*")[0]
    end