fork download
  1. #!/usr/bin/env python
  2.  
  3. import base64
  4. import sys
  5. import string
  6.  
  7. my_base64chars = "+AzByCxDwEvFuGtHsIrJqKpLoM0123456789nNmOlPkQjRiShTgUfVeWdXcYbZa/"
  8. std_base64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
  9. s = "BAZINGA ! You won ! *KISS*"
  10. s = s.translate(string.maketrans(my_base64chars, std_base64chars))
  11. data = s
  12.  
  13. print data
Success #stdin #stdout 0.02s 7432KB
stdin
Standard input is empty
stdout
DB9RlNB ! 7YM IYk ! *VRvv*