private void SetDataNullTerminatorEncryptorSettings(DataNullTerminatorEncryptorSettings dataNullTerminatorEncryptorSettings)
 {
     Assert.ArgumentNotNull(dataNullTerminatorEncryptorSettings, "dataNullTerminatorEncryptorSettings");
     Assert.ArgumentNotNullOrEmpty(dataNullTerminatorEncryptorSettings.EncryptionDataNullTerminator, "dataNullTerminatorEncryptorSettings.EncryptionDataNullTerminator");
     Assert.ArgumentNotNull(dataNullTerminatorEncryptorSettings.InnerEncryptor, "dataNullTerminatorEncryptorSettings.Encryptor");
     DataNullTerminatorEncryptorSettings = dataNullTerminatorEncryptorSettings;
 }
 public static IEncryptor CreateNewDataNullTerminatorEncryptor(DataNullTerminatorEncryptorSettings dataNullTerminatorEncryptorSettings)
 {
     return new DataNullTerminatorEncryptor(dataNullTerminatorEncryptorSettings);
 }
 private DataNullTerminatorEncryptor(DataNullTerminatorEncryptorSettings dataNullTerminatorEncryptorSettings)
 {
     SetDataNullTerminatorEncryptorSettings(dataNullTerminatorEncryptorSettings);
 }