SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Randomchar = {"a":"\x91", "b":"\x11", "c":"\x34"}
  2.  
  3.  
  4. plaintext = "abc"
  5.  
  6. for i,a in Randomchar.items():
  7.     plaintext = plaintext.replace(i,a)
  8.  
  9. print(plaintext)    
  10. # ---> "\x91\x11\x34"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top