Advertisement
Adm1n_0v3rride

The base64 library in python3

Dec 21st, 2017
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement