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