Adm1n_0v3rride

The base64 library in python3

Dec 21st, 2017
138
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # The base64 library in python3 by Adm1n_0v3rride (C) 2017
  2.  
  3. #!/usr/bin/env python3
  4.  
  5. import base64
  6.  
  7. encoded = base64.b64encode(b'Greetings and merry christmas')
  8.  
  9. print(encoded)
  10.  
  11. data = base64.b64decode(encoded)
  12.  
  13. print(data)
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.

×