Hi, have a good day this simple library will help you to encrypt and decrypt files. (Binary files)
And it’s very easy to use:
Usage Example :
// you secret key don;t change the length, change the bytes! byte[] key = { 0x01, 0x02, 0x03, 0x05, 0x07, 0x0B, 0x0D, 0x11, 0x12, 0x11, 0x0D, 0x0B, 0x07, 0x02, 0x04, 0x08, 0x01, 0x02, 0x03, 0x05, 0x07, 0x0B, 0x0D, 0x11 }; byte[] vi = { 0x01, 0x02, 0x03, 0x05, 0x07, 0x0B, 0x0D, 0x11 }; FileEncryptUtilities.FileEncryptUtilitiesDES filedes = new FileEncryptUtilities.FileEncryptUtilitiesDES(key , vi); filedes.Encrypt(@"d:\\originalfile.jpg", "d:\\encryptedfile.jpg"); // filedes.Decrypt(@"d:\\encryptedfile.jpg", "d:\\decryptedfile.jpg");
Download “DES Encrypt Library” 1ACEEl – Downloaded 969 times –