Advertisement
gigahf

TinyCrypt.cs - Usage

Aug 12th, 2017
1,043
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. var tc = new TinyCrypt();
  2. byte[] tc.Encrypt(byte[] buffer, byte[] key);
  3. byte[] tc.Decrypt(byte[] buffer, byte[] key);
  4.  
  5. - or - easy way, but make sure you save tc.Key for decryption
  6.  
  7. var tc = new TinyCrypt();
  8. byte[] tc.Encrypt(byte[] buffer);
  9. byte[] tc.Decrypt(byte[] buffer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement