utils.z85#

Module: utils.z85#

Python implementation of Z85 85-bit encoding

Z85 encoding is a plaintext encoding for a bytestring interpreted as 32bit integers. Since the chunks are 32bit, a bytestring must be a multiple of 4 bytes. See ZMQ RFC 32 for details.

Functions#

zmq.utils.z85.decode(z85bytes)#

decode Z85 bytes to raw bytes, accepts ASCII string

zmq.utils.z85.encode(rawbytes)#

encode raw bytes into Z85