Skip to main content

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 encryptlib

For development installation with documentation tools:

pip install "encryptlib[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

  1. Clone the repository:

    git clone https://github.com/TheBruh141/89crypt.git
    cd 89crypt
    
  2. Install development dependencies:

    pip install -e ".[dev,docs]"
    
  3. Run tests:

    pytest
    
  4. 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.

Author

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

en_encrypt-1.0.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

en_encrypt-1.0.1-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file en_encrypt-1.0.1.tar.gz.

File metadata

  • Download URL: en_encrypt-1.0.1.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for en_encrypt-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5f89af8810d96fba14a4625a6527cfab80e71b1015282eb6afd8ac64f37a1733
MD5 2a2a4bcb34c249bde38607640ff349ef
BLAKE2b-256 6566f1988996118db82072ec55b9bd58cef467b32191a1bbcb73b182233c9eb4

See more details on using hashes here.

File details

Details for the file en_encrypt-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: en_encrypt-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for en_encrypt-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2dbdefdd7f9509c47bcc4a35f061a9b618ac18e25c3c37076c546145bae332d
MD5 9a5c86cf1102c919ce7e57c32be08325
BLAKE2b-256 4b385c5dc4f7468c01ea7b2984a8f3c0d1f47c24bccb85147e1ca6217a62b8ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page