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.