static void Main(string[] args)
        {
            encryption encryptObject = new encryption();
            encryptObject.Encrypt(INPUT_PATH + "2.jpg", "1234", OUTPUT_PATH + "2.jpg");

            decryption decryptionObject = new decryption();
            decryptionObject.decrypt(OUTPUT_PATH + "2.jpg", "1234", OUTPUT_PATH + "2_d.jpg");
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            encryption encryptObject = new encryption();

            encryptObject.Encrypt(INPUT_PATH + "2.jpg", "1234", OUTPUT_PATH + "2.jpg");

            decryption decryptionObject = new decryption();

            decryptionObject.decrypt(OUTPUT_PATH + "2.jpg", "1234", OUTPUT_PATH + "2_d.jpg");
        }