public void GenerateEncryptedFile(string fileName, ICollection <Person> people)
        {
            var fileInfo = peopleFileGenerator.GenerateFile(fileName, people);

            fileEncryptor.EncryptFile(fileInfo);
        }
Exemplo n.º 2
0
        private void EncryptFile(string fileName)
        {
            var file = fileSystem.FileInfo.FromFileName(fileName);

            fileEncryptor.EncryptFile(file);
        }