Tech Off Post

Single Post Permalink

View Thread: Pass hashed info through query string
  • User profile image
    Pop Catalin Sever

    static void Main(string[] args)

    {

    string toEncode = "This will be base64 encoded!";

    string encoded = Convert.ToBase64String(System.Text.Encoding.Default.GetBytes(toEncode));

    Console.WriteLine(encoded);

    }


    Be sure to have the same Defaul Encoder where you decode the string Wink