Ascii85 (Base85) Encode and Decode using Python

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)

Leave a Comment

Cancel reply

Your email address will not be published.