Click here to Skip to main content
15,886,258 members
Articles / Security

Encrypting Communication between C# and PHP

Rate me:
Please Sign up or sign in to vote.
4.91/5 (34 votes)
11 Oct 2011GPL344 min read 200.5K   4.4K   65  
Set up encrypted secure communication between C# and PHP using the AES and RSA algorithms.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Lame_Game
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer
United States United States
Scott enjoys working on proof-of-concept projects for the sake of learning new and interesting ways to solve problems.

Comments and Discussions