예제 #1
0
 /// <summary>
 /// Encrypting Byte Array.
 /// </summary>
 public void Encrypt()
 {
     Data = RijndaelHandler.Encrypt(Data, Key);
 }
예제 #2
0
 /// <summary>
 /// Decrypting Byte Array.
 /// </summary>
 public void Decrypt()
 {
     Data = RijndaelHandler.Decrypt(Data, Key);
 }
예제 #3
0
 public static byte[] Encrypt(byte[] data)
 {
     return(RijndaelHandler.Encrypt(data, Key));
 }