Bixor allows you to encrypt strings with Binary Xor.
Project description
Install
- Linux
python3 -m pip install bixor
- Windows
python -m pip install bixor
Author
Discord : Lactua#1806
Github: https://github.com/lactua
Documentation
-
Encrypt
To encrypt a string with Bixor, you need in a first time import bixor.
import bixorEncryption needs a key, and a content. The key allows you to decrypt the content in the future, it's like a password to get acces to your content.
To encrypt you have to call the function encrypt and put the content and the key in parameters.
Example :
import bixor content = 'hello' key = 'world' encrypted = bixor.encrypt(content, key) print(encrypted)Output :
1111110 1011100 1001010 1100011 1111001 -
Decrypt
To encrypt a string with Bixor, you need in a first time import bixor.
import bixorDecryption needs a key, and an encrypted binary. The key allows you to decrypt the encrypted binary.
To decrypt you have to call the function decrypt and put the encrypted binary and the key in parameters.
Example :
import bixor encrypted_binary = '1111110 1011100 1001010 1100011 1111001' key = 'world' decrypted = bixor.encrypt(encrypted_binary, key) print(decrypted)Output :
hello
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bixor-1.0.4.tar.gz.
File metadata
- Download URL: bixor-1.0.4.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af559c48aac9f5c4aeb2893cbb430cd63904acc1ada4086a277dfa5d9c4260f7
|
|
| MD5 |
06f038974b08300417bf11858504267b
|
|
| BLAKE2b-256 |
769c8cfe5ae93a2b51ed352f7ad99dfcce0d021cc002d11657d9f8a5c63cf67d
|
File details
Details for the file bixor-1.0.4-py3-none-any.whl.
File metadata
- Download URL: bixor-1.0.4-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84709625fed12a625862882c19ad9782f038c7bb8431324e05f8811b25dc3b57
|
|
| MD5 |
5a8afb09937b516ef4307027fd1fe0aa
|
|
| BLAKE2b-256 |
e9c180f2ffec03be06e354087b5ff196c070e8c6a5f1bbae1c292021abd8d67d
|