Пример #1
0
 static void Main(string[] args)
 {
     RSAEncoder rsaEncoder = new RSAEncoder(args);
        rsaEncoder.ParseArguments();
        rsaEncoder.InitializeKey();
        rsaEncoder.ProcessInputKeyFile();
 }
Пример #2
0
        static void Main(string[] args)
        {
/// Test message
///			string message = "Welcome to iFolder 3.6.";

            RSAEncoder rsaEncoder = new RSAEncoder(args);

            rsaEncoder.ParseArguments();
            rsaEncoder.InitializeKey();
            rsaEncoder.ProcessInputKeyFile();
/// Testing code below -- commented
///		byte [] eMess = rsaEncoder.EncodeMessage(message);
///			Console.WriteLine("Decoded Mess {0}", rsaEncoder.DecodeMessage(eMess));
        }