public byte[] DecryptByteArray(byte[] b)
{
MemoryStream ba = new MemoryStream();
StandardDecryption dec = GetDecryptor();
byte[] b2 = dec.Update(b, 0, b.Length);
if (b2 != null)
ba.Write(b2, 0, b2.Length);
b2 = dec.Finish();
if (b2 != null)
ba.Write(b2, 0, b2.Length);
return ba.ToArray();
}