Advertisement
Alx09

Untitled

Apr 13th, 2022
1,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1.  byte[] crypted = { 1,1}; // aici pui chiperText
  2.            
  3.            
  4.             RSACryptoServiceProvider myRSA = new RSACryptoServiceProvider(1024);
  5.             myRSA.FromXmlString("Aici pui acel string"); // sa pui acel xml string
  6.  
  7.             foreach (byte b in myRSA.Decrypt(crypted, false))
  8.                 Console.Write(b + " ");
  9.             Console.ReadLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement