Skip to main content

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.

Release files for Complex-Number-Encryptor-Janderion 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Complex-Number-Encryptor-Janderion 1.0.0
File Size Uploaded
Complex-Number_Encryptor-Janderion-1.0.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Complex-Number-Encryptor-Janderion 1.0.0
File Interpreter ABI Platform
Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / Complex-Number_Encryptor-Janderion-1.0.0.tar.gz

Download URL Complex-Number_Encryptor-Janderion-1.0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
419d7d15ea35af94e1d3ce7b2c02cc3b200e58b1927a2566813dbb7b110b2e51
BLAKE2b-256 checksum
How to use checksums
8cd2d2a192c370225a1a9b7c2e1923930c64ba167ec905f460865386d184539d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl

Download URL Complex_Number_Encryptor_Janderion-1.0.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cbcb1dd4a63453e7c55b84aab8aa77bfa450f54a1cf4e7b6006782a2a6c193f
BLAKE2b-256 checksum
How to use checksums
814a4b9fee0eda38bf04cde72937057510dc63e64695ef10f840455c56fe00eb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page