base64 module
import base64
text = 'Hello'
ascii85Str = base64.a85encode(text.encode('utf-8')).decode('utf-8')
print(ascii85Str)
text = base64.a85decode(ascii85Str).decode('utf-8')
print(text)
import base64
text = 'Hello'
ascii85Str = base64.a85encode(text.encode('utf-8')).decode('utf-8')
print(ascii85Str)
text = base64.a85decode(ascii85Str).decode('utf-8')
print(text)
Leave a Comment
Cancel reply