A matrix-based encryption library developed for TUBITAK 2204-a
Project description
89crypt | (ENcrypt)
A secure and efficient matrix-based encryption library for specific use cases developed for TUBITAK 2204-a project.
Features
- Matrix-based encryption using periodic decimal expansions
- Support for custom alphabets and character sets
- High-precision numerical operations
- Comprehensive error handling
- Type-safe implementation with full type hints
- Extensive documentation and examples
Installation
pip install EN-ENcrypt
For development installation with documentation tools:
pip install "EN-ENcrypt[dev,docs]"
Quick Start
from encryptlib import ENcrypt
# Create an encryptor with a key
encryptor = ENcrypt(59)
# Encrypt a message
encrypted = encryptor.encrypt("Hello World")
print(f"Encrypted matrix:\n{encrypted}")
# Decrypt the message
decrypted = encryptor.decrypt(encrypted)
print(f"Decrypted message: {decrypted}")
Documentation
Full documentation is available at here!.
Development
-
Clone the repository:
git clone https://github.com/TheBruh141/89crypt.git cd 89crypt
-
Install development dependencies:
pip install -e ".[dev,docs]"
-
Run tests:
pytest
-
Build documentation:
cd docs make html
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the GNU General Public License v3 - 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
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 en_encrypt-1.0.1.1.tar.gz.
File metadata
- Download URL: en_encrypt-1.0.1.1.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d4ef40bd5f6583f9c9ad972d963c1d2baa3688ce6348fb22485855ace82c6a7
|
|
| MD5 |
0853dff2066d552a80ede2e10ad857dd
|
|
| BLAKE2b-256 |
08dbb00f791a867dd08a814093dff305bf591d1742d65f3175ebe196cf88f48e
|
File details
Details for the file en_encrypt-1.0.1.1-py3-none-any.whl.
File metadata
- Download URL: en_encrypt-1.0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1327d3aad3fecf696ca8740f7993f115cbfd7085d7935b0f6bc6dd63aebce06a
|
|
| MD5 |
f4c6db563b343c80bb41985097ecf887
|
|
| BLAKE2b-256 |
a98475358cfbea40bab228dacae7927d5b60c4e1a0e4c27427e1410012d7e61f
|