A Simple Algorithm utils with protobuf in python
Project description
Installation
Install h9nt using pip:
pip install h9nt
from h9nt import PbEnc
# Example usage:
def __get__payload() -> str:
payload = {
1: "Hello World!",
2: 234,
3: 556,
4: 67,
5: {
1: 11,
},
11: "outpout"
}
return payload
def __to_buff(payload: str) -> str:
try:
return PbEnc().encrypt_pb_payload(payload)
except:
return None
`its just a basic example how its could be used.`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
h9nt-1.0.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
h9nt-1.0.1-py3-none-any.whl
(2.1 kB
view hashes)