Program.cs 311 B

123456789101112131415
  1. using Masuit.Tools.Security;
  2. using System;
  3. namespace Test
  4. {
  5. static class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. RsaKey keys = RsaCrypt.GenerateRsaKeys();
  10. Console.WriteLine(keys.PublicKey);
  11. Console.WriteLine(keys.PrivateKey);
  12. }
  13. }
  14. }