Meliodas0_0

Photon Obfuscator C#

Aug 4th, 2019
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string Password= "98347029837420938470989802740982734";
  2.  
  3. public static string Photon_Encrypt(string Text, string Passcode) {
  4. string Text_encrypt = Convert.ToBase64String(Encoding.UTF8.GetBytes(Text));
  5. string Passcode_encrypt = Convert.ToBase64String(Encoding.UTF8.GetBytes(Passcode));
  6. return Text_encrypt+ Passcode_encrypt;
  7. }
  8.  
  9. public static string Photon_Decrypt(string Text, string Passcode)
  10. {
  11.  
  12. string Passcode_Encrypted = Convert.ToBase64String(Encoding.UTF8.GetBytes(Passcode));
  13. string Text_Encrypted = Text.Replace(Passcode_Encrypted, "");
  14. string Text_Decrypted = Encoding.UTF8.GetString(Convert.FromBase64String(Text_Encrypted));
  15. return Text_Decrypted;
  16. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×