Tanji is a Python encryption library that provides a secure and flexible solution for encrypting and decrypting messages. It leverages both symmetric and asymmetric encryption techniques to ensure the confidentiality and integrity of your data.
Project description
Tanji Encryption Library 👩💻🔐
Tanji is a Python encryption library that provides a secure and flexible solution for encrypting and decrypting messages. It leverages both symmetric and asymmetric encryption techniques to ensure the confidentiality and integrity of your data.
Features 🚀
- Symmetric Encryption: Utilizes the Advanced Encryption Standard (AES) algorithm for symmetric key encryption.
- Asymmetric Encryption: Employs RSA algorithm for secure asymmetric key encryption.
- Base64 Encoding: Efficiently encodes encrypted data using Base64 for safe transmission.
- Key Pair Generation: Automatically generates RSA key pairs for secure communication.
- Random Initialization Vectors (IV): Uses random IVs to enhance security.
- Ease of Use: Simple and straightforward interface for encrypting and decrypting messages.
How Tanji Differs 🤔
- Robust Security: Tanji prioritizes the security of your data by combining symmetric and asymmetric encryption methods.
- Key Pair Generation: Automatically generates and manages RSA key pairs, simplifying the encryption process.
- Dynamic Initialization Vectors: Randomly generated IVs for each encryption enhance the resistance against cryptographic attacks.
- Base64 Encoding: Encoded data ensures compatibility and safe transmission across different systems.
- Developer-Friendly: Designed to be user-friendly and easily integrated into various Python projects.
Getting Started 🏁
-
Install Tanji:
pip install tanji
-
Use Tanji in your Python project:
from tanji import Tanji # Example Usage tanji = Tanji() encrypted_message, ciphertext = tanji.encrypt_message("Hello, Tanji!") decrypted_message = tanji.decrypt_message(encrypted_message, ciphertext) print("Original Message:", "Hello, Tanji!") print("Encrypted Message:", encrypted_message) print("Decrypted Message:", decrypted_message)
Contributing 🤝
Contributions are welcome! Feel free to submit issues or pull requests.
License 📄
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
File details
Details for the file tanji-1.0.0.tar.gz
.
File metadata
- Download URL: tanji-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec757eb405d85840d23522701d14389aa16c890252f93935b3b04669af8054c |
|
MD5 | 73bbfc6aac6df166f0d949f4fa60d658 |
|
BLAKE2b-256 | 65a14abcc159b59a98940f054398e3556ecbd095f4f311fd040293513135aa3c |
File details
Details for the file tanji-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tanji-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cfdb6eb2c72beeb17fa5c152bc9c8fbb2c5bd66176206adf8247fbd9193c1ab |
|
MD5 | c6b2f37453c2eb78cf7d4b9c9f67bb1b |
|
BLAKE2b-256 | bac4d97de245e409c9ca284387c0522f777def5c79efdc7581746769666bd4ed |