Generating random string

ActiveSupport::SecureRandom.hex(16)