Encode string data by zlib, base64 invert, how its work ?
Python requires Python.org v3,7+ to run. Install the dependencies and devDependencies and start the server.
python -m pip install pip
python -m pip install --upgrade pip
pip install git+https://github.com/SimonBolivarPy/chbencode-py.git
from chbencode import algorithmb
b = algorithmb()
secret = "PRIVATEDATA" # | =wKCQiGADsSzPNNzM30zRzyyM/c1J9kzzBvzsg09TzJe
encode_string = b.encd(secret)
print(encode_string)
decode_string = b.decd(encode_string)
print(decode_string)
result = ''.join(map(chr,data)) result = ''.join([chr(x) for x in data]) result = bytearray(data).decode('ascii') result = bytes(data).decode('ascii')
MIT