# File lib/travis/cli/encrypt_file.rb, line 92
      def transcode(input_path)
        description = "stdin#{' (waiting for input)' if $stdin.tty?}" if input_path == '-'
        say "#{decrypt ? "de" : "en"}crypting #{color(description || input_path, :info)} for #{color(slug, :info)}"

        data     = input_path == '-' ? $stdin.read : File.binread(input_path)
        aes      = OpenSSL::Cipher.new('AES-256-CBC')
        decrypt  ? aes.decrypt : aes.encrypt
        aes.key  = [key].pack('H*')
        aes.iv   = [iv].pack('H*')

        aes.update(data) + aes.final
      end