TizzyT

FlexCrypt Test -TizzyT

Oct 21st, 2018
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.74 KB | None | 0 0
  1.         static void Main(string[] args)
  2.         {
  3.             // Encrypt File with password "cat"
  4.             FlexEncrypt(
  5.                 "C:/Users/tizzy/Desktop/FlexCrypt/test.jpg",
  6.                 "C:/Users/tizzy/Desktop/FlexCrypt/testEncrypted/",
  7.                 "cat");
  8.  
  9.             // Change the password from "cat" to "dog"
  10.             FlexChange(
  11.                 "C:/Users/tizzy/Desktop/FlexCrypt/testEncrypted/test.jpg.en",
  12.                 "cat",
  13.                 "dog");
  14.  
  15.             // Decrypt File with password "dog"
  16.             FlexDecrypt(
  17.                 "C:/Users/tizzy/Desktop/FlexCrypt/testEncrypted/test.jpg.en",
  18.                 "C:/Users/tizzy/Desktop/FlexCrypt/testEncrypted/Decrypted/",
  19.                 "dog");
  20.         }
Advertisement
Add Comment
Please, Sign In to add comment