Created
November 4, 2017 09:45
-
-
Save mataprasad/5d746e57d43c197120a82a6b4e51e3c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CrossPlatformAESEncryption.Helper; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace CrossPlatformAESEncryption | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
String input = "Text to encrypt"; | |
Console.WriteLine("input:" + input); | |
String cipher = CryptoHelper.Encrypt(input); | |
Console.WriteLine("cipher:" + cipher); | |
//cipher = "kb1TyFRUcMaY6Z1vCRravA=="; | |
//Console.WriteLine("cipher:" + cipher); | |
String output = CryptoHelper.Decrypt(cipher); | |
Console.WriteLine("output:" + output); | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment