public ICryptoTransform CreateEncryptor() { if (keyBytes == null | ivBytes == null) throw new Exception("No key for " + this.ToString()); return alg.CreateEncryptor(keyBytes, ivBytes); }