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.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.
Metadata
Release files for tanji 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tanji-1.0.3.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tanji-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / tanji-1.0.3.tar.gz
| Download URL | tanji-1.0.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e69545d76e399342f6a2e11653e7a0413da07ef2ff1e738de5851de902024d2
|
|
BLAKE2b-256 checksum How to use checksums |
a8ffac304df02bf4f9c529cebafbe9192850930c9bb8aa474a518c71dd759c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.6 Windows/10
|
Release files / tanji-1.0.3-py3-none-any.whl
| Download URL | tanji-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f03bb6e0a2ebab6be0dc7b780d5dcf636189458496ac58bb10a10ec8f7d239a1
|
|
BLAKE2b-256 checksum How to use checksums |
89183b238716cf5c05fd02ef00ea9d350f5d5949ed225db1c34669bafcd63c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.6 Windows/10
|
Security for tanji 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.