Skip to content

Commit

Permalink
Adding The Base64 Example On EasyShell Wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
DEMON1A authored Feb 2, 2021
1 parent a80ff95 commit de6e291
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/base-encoder.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import base64

def Run(Input):
BInput = Input.encode('UTF-8')
Encoded = base64.b64encode(BInput)

Encoded = Encoded.decode('UTF-8')
print("Base64:" , Encoded)

0 comments on commit de6e291

Please sign in to comment.