Last active
July 2, 2019 04:20
-
-
Save flamanta/23ec742feb49e532c5110044f4003350 to your computer and use it in GitHub Desktop.
[Convert str to base32 or base64] #base32 #base64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
base64.b64encode(s) # encode a string in Base64 | |
base64.b64decode(s) # decode a Base64 encoded string | |
base64.b32encode(s) # encode a string in Base32 | |
base64.b32decode(s) # decode a Base32 encoded string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment