base64 module
import base64
text = 'Hello'
base32Str = base64.b32encode(text.encode('utf-8')).decode('utf-8')
print(base32Str)
text = base64.b32decode(base32Str).decode('utf-8')
print(text)
import base64
text = 'Hello'
base32Str = base64.b32encode(text.encode('utf-8')).decode('utf-8')
print(base32Str)
text = base64.b32decode(base32Str).decode('utf-8')
print(text)
Leave a Comment
Cancel reply