public byte[] Encode(byte[] bytes)
 {
     if (this.key == null)
     {
         return(bytes);
     }
     else
     {
         return(Crypting.AesEncrypt(bytes, this.key, this.iv));
     }
 }