static void Main(string[] args) { RSAEncoder rsaEncoder = new RSAEncoder(args); rsaEncoder.ParseArguments(); rsaEncoder.InitializeKey(); rsaEncoder.ProcessInputKeyFile(); }
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)); }