Skip to main content

This is a bit-encoder module

Project description

About

This library turns bytes into bits and allows them to be encrypted with a password

Installing:

pip install shifrator

Using:

from shifrator import BitArray
data = BitArray('Hello'.encode('UTF-8'))
print(data) # Printing bits
data.bitEncode('password') # Encoding with password, password must be str
print(data.to_bytes()) # printing bytes
data.bitDecode('password') # Decoding with password, password must be str
print(data.to_bytes()) # Printing of original value

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bit_shifrator-0.3-py2.py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page