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