duck.utils.encrypt

Module Contents

Functions

compress_and_encode

Compresses and encodes the input string using zlib and base64.

decode_and_decompress

Decodes and decompresses the input string.

API

duck.utils.encrypt.compress_and_encode(input_string)[source]

Compresses and encodes the input string using zlib and base64.

duck.utils.encrypt.decode_and_decompress(encoded_string)[source]

Decodes and decompresses the input string.