Advertisement
Guest User

Decryption

a guest
Dec 11th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. using system;
  2. namespace decryption
  3. {
  4. class key
  5. {
  6. Public static void Main(string[] args)
  7. {
  8. int text = System.IO.File.ReadAllText(@ "location of file");
  9.  
  10. int decrypt1 = text - 23;
  11. int decrypt2 = decrypt1 + 19;
  12. int decrypt3 = decrypt2 + 8;
  13.  
  14. int decrypted = (string)decrypt3;
  15.  
  16. string text = decrypted;
  17. System.IO.File.WriteAllText(@ "location to save fileName.txt",text);
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement