andrew4582

SecureString

Aug 18th, 2012
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. using(SecureString secure = new SecureString())
  2.                 {
  3.                     secure.AppendChar('a');
  4.                     secure.AppendChar('n');
  5.                     secure.AppendChar('&');
  6.                     secure.AppendChar('N');
  7.                     secure.AppendChar('n');
  8.                    
  9.                     int min = 24,max = 599;
  10.  
  11.                     for(int i = min;i < max;i += 3)
  12.                     {
  13.                         char c = i.ToString()[0];
  14.                         secure.AppendChar(c);
  15.                     }
  16.                     string unsecure = secure.ToString();
  17.                 }
Advertisement
Add Comment
Please, Sign In to add comment