A Python package for encryption and decryption using the XOR-Transposition-Substitution (XTS) cipher algorithm.
Project description
XTS Cipher
A Python package for encryption and decryption using the XOR-Transposition-Substitution (XTS) cipher algorithm.
Algorithm Overview:
This algorithm combines Substitution, Transposition, and XOR operations to securely encrypt and decrypt a message.
- Substitution: Each character of the message is shifted by a key value (like a Caesar cipher).
- Transposition: The message is divided into blocks, and the order of these blocks is reversed.
- XOR: A series of keys are applied using the XOR operation to further obfuscate the message.
During decryption, the process is reversed:
- XOR: The XOR operation is applied using the same keys to reverse the encryption.
- Reverse Transposition: The blocks are rearranged back to their original order.
- Reverse Substitution: The characters are shifted back using the key to retrieve the original message.
Features
- Generates random keys for encryption.
- Encrypts messages using substitution, transposition, and XOR operations.
- Decrypts messages back to the original form.
Installation
You can install the package via pip:
pip install xts_cipher
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 Distributions
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 xts_cipher-0.2-py3-none-any.whl.
File metadata
- Download URL: xts_cipher-0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9487f8de49a23b3f36716f0ea952d38e9d85514c0e44ed6dcc4494789f534758
|
|
| MD5 |
8576c45fb5d4b06a8a5a12af20070802
|
|
| BLAKE2b-256 |
0fc36b52248aba304871b013f8aa9763ee45a32e8bdcfc65c7f1373b792bb993
|