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
Close
Hashes for bit_shifrator-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 016091bcf9cd654534a791cafb97142def8ea5b89374a826403624f5565ff6b9 |
|
MD5 | 070e69f8bd9d99582f5229d33f34d591 |
|
BLAKE2b-256 | 230c550d22cb6812234d197ccb34930d056017a0702c037275dcbf2a0e36d130 |