public Mac(byte[] bytes, bool copy = true)
{
if(copy)
{
if (bytes == null || bytes.Length == 0)
this.bytes = null;
else
{
this.bytes = new byte[bytes.Length];
Buffer.BlockCopy(bytes, 0, this.bytes, 0, bytes.Length);
}
}
else
{
this.bytes = bytes;
}
}