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 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

  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.

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.1.tar.gz (30.3 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.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

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

Hashes for en_encrypt-1.0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d4ef40bd5f6583f9c9ad972d963c1d2baa3688ce6348fb22485855ace82c6a7
MD5 0853dff2066d552a80ede2e10ad857dd
BLAKE2b-256 08dbb00f791a867dd08a814093dff305bf591d1742d65f3175ebe196cf88f48e

See more details on using hashes here.

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

Hashes for en_encrypt-1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1327d3aad3fecf696ca8740f7993f115cbfd7085d7935b0f6bc6dd63aebce06a
MD5 f4c6db563b343c80bb41985097ecf887
BLAKE2b-256 a98475358cfbea40bab228dacae7927d5b60c4e1a0e4c27427e1410012d7e61f

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