Skip to main content

Package that can encrypt messages using various math equations

Project description

Complex Number Encryptor

This package is capable of encoding messages into lists of numbers using algebra and complex numbers

Complex_Number_Encryptor.ComplexNumber

An example of how to use this is as follows:

from Complex_Number_Encryptor.ComplexNumber import Encoder
msg = "Hello World"
Encryption_factors = [(1+1j), (2+2j), (3+3j)]
Encoded_Message = Encoder(msg, Encryption_factors, d=1).enc()
print(Encoded_Message)

The Encoder object requires two things, the first being the string of the message, and the second being the tuple of three numbers which are the encryption factors. There is a third factor 'd', which is also an encryption factor, but is at default 1. A list of complex numbers would be printed and could be reversed in the Decoder object with the same encryption factors.

from Complex_Number_Encryptor.ComplexNumber import Decoder
Input_list = [the, list, recieved, from, the, encoder]
Encryption_factors = [(1+1j), (2+2j), (3+3j)]
Decoded_Message = Decoder(Input_list, Encryption_factors, d=1).dec()
print(Decoded_Message)

This would print out the original message.

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

Complex-Number_Encryptor-Janderion-1.0.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file Complex-Number_Encryptor-Janderion-1.0.0.tar.gz.

File metadata

  • Download URL: Complex-Number_Encryptor-Janderion-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.7

File hashes

Hashes for Complex-Number_Encryptor-Janderion-1.0.0.tar.gz
Algorithm Hash digest
SHA256 419d7d15ea35af94e1d3ce7b2c02cc3b200e58b1927a2566813dbb7b110b2e51
MD5 2a8e790449470a203616f05043d0ff0f
BLAKE2b-256 8cd2d2a192c370225a1a9b7c2e1923930c64ba167ec905f460865386d184539d

See more details on using hashes here.

File details

Details for the file Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.7

File hashes

Hashes for Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cbcb1dd4a63453e7c55b84aab8aa77bfa450f54a1cf4e7b6006782a2a6c193f
MD5 af085df899d3ae95b24ce333f59d1728
BLAKE2b-256 814a4b9fee0eda38bf04cde72937057510dc63e64695ef10f840455c56fe00eb

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