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