Skip to content

SimonBolivarPy/chbencode-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chbEncode 1.0.0

Encode string data by zlib, base64 invert, how its work ?

Installation

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

Using

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)

Note

result = ''.join(map(chr,data)) result = ''.join([chr(x) for x in data]) result = bytearray(data).decode('ascii') result = bytes(data).decode('ascii')

License

MIT

About

Encode string data by zlib, base64 invert

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages