This is an encryption algorithm that to encrypt any ascii text
Program has a function f(x) that encrypts text
f(x) if a polynomial function that has the form
g(x) is the inverse function of f(x) that returns the decrypted/original text default a,b,c,d,e values are set in the code but can be changed
import PolyCryption as PC
x = PC.Encrypt(text)
y = PC.Decrypt(x)
PC(2,4,5,3,2)
# a,b,c,d,e = 2,4,5,3,2
#or
PC.a = 23
# only a is changed
P(1,1,0,1,0)
#or
P()
# get ascii code of each character
Although the encryption algorithm works fine, using large coefficents for 'd' will result in large encrypted numbers, therefore I recommend using smaller values for d.
To be more technical you could say the length of each encrypted character is
0 can only be used for c and e, giving any other value a 0 will result in an error
Negative numbers can be used for some of the values, however I heavily discourage using it