Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# encrypt folder SHA512

    static void Test1()
    {

        string[] files = Directory.GetFiles(@"D:\_test", "*", SearchOption.AllDirectories);

        EncryptionFile enc = new EncryptionFile();
        //DecryptionFile dec = new DecryptionFile();

        string password = "abcd";

        for (int i=0; i<files.Length; i++)
        {
            Console.WriteLine(files[i]);
            enc.EncryptFile(files[i], password);
            //dec.DecryptFile(files[i], password);
        }
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #encrypt #folder
ADD COMMENT
Topic
Name
4+5 =