SHARE
TWEET

TinyCrypt.cs - Usage

gigahf Aug 12th, 2017 (edited) 242 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data
Top