Skip to content

Instantly share code, notes, and snippets.

@thekindlyone
Created July 16, 2014 20:22
Show Gist options
  • Save thekindlyone/cdb9b58c53147c7e9166 to your computer and use it in GitHub Desktop.
Save thekindlyone/cdb9b58c53147c7e9166 to your computer and use it in GitHub Desktop.
import base64
print ("Welcome to the encoder of Base64 :3")
print ("Please enter your string that you need to encode :")
rawString = input()
encodedString = base64.b64encode(bytes(rawString,'utf-8'))
print ("Encoded :" + str(encodedString) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment