Professional Documents
Culture Documents
I. INTRODUCTION
This is manuscript 4 of my solution of the P versus NP
problem I explain the Seun Adedokun Polynomial Algorithm
and the practical consequence to public key cryptography
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and that the Seun Adedokun Polynomial algorithm
is significantly better than the Public key Cryptography
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and that the Seun Adedokun Polynomial algorithm
is significantly better than the RSA Encryption Algorithm
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and that the Seun Adedokun Polynomial algorithm
is significantly better than the Digital Signature Algorithm
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and that the Seun Adedokun Polynomial Algorithm is significantly better than the Pallier cryptosystem
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and that the Seun Adedokun Polynomial Algorithm is significantly better than the Cramer shoup cryptosystem
I explain the Seun Adedokun polynomial algorithm that i
formulate and that the Seun Adedokun Polynomial Algorithm is significantly better than protocols using asymmetric
key algorithms like S/MIME GPP PGP ZRTP Secure VOIP
Protocol secure Socket Layer SILC SSH
II. S EUN A DEDOKUN P OLYNOMIAL A LGORITHM
A. Public Key Cryptography
Public Key cryptography is based on a pair of public and
private key s where the public keys may be disseminated
but teh private keys is known to the owner the public
key cryptography accomplishes two functions which are
authentication and encryption
A representation of the public key cryptography is shown
For the analysis of the figure where there is communication between alice and bob and there is a private and public
key
Bob can receive a message from Alice where the message
can be encrypted based on the public key of bob and the
message can be decrypted based on the private key of bob
The strength of the public key cryptography is based on
the degree of difficulty which is the level of computational
B. RSA Cryptography
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and the fact that it is significantly better than RSA
Cryptography
it is observed that in the formulation i expained as regards
the dpll algorithm the dpll algorithm requires 11 steps for the
implication graph which is about O(23 .5) therefore n=3.5
and it is observed that the Seun Adedokun polynomial
algorithm that i formulated as regards the implication graph
is about n which is 4
The RSA Cryptography involves the steps key generation
key distribution encryption and decryption and the analysis
involves a public and private key analysis such that it is
practical to find three very large positive numbers e d n such
that with modular exponentiation for m (me )d = m(modn)
where d is the private key exponent and e is the public key
exponent
The Encryption
For a message M represented by the integer m and for Alice
public key e then bob computes the cipher text c where m
and n are coprimes and m is in the range of 0 to n
The ciphertext c = me (modn)
The Decryption
Alice can recover the message m from c by using her private
key exponent d
cd = (me )d = m(modn)
The Key generation
the steps for the RSA cryptography are
get two distinct prime numbers p and q
compute n=pq
compute Q(n)=Q(p)Q(q)=(p-1)(q-1)=n-(p+q-1) where Q is
Euler totient function
get an integer e that is in the range 1 and Q(n) and
gcd(e,Q(n))=1
determine d the private key exponent as d = e1 mod(Q(n))
I explain the Seun Adedokun Polynomial Algorithm that i
formulate and why it is significantly better than the RSA
cryptography For the RSA Cryptography Complexity analysis it is expected that the public key exponent e should have
a short bit length and small hamming weight For efficient encryption it is observed that e is computed as 216 +1 = 65537
where n is the number of arguments i therefore show that
teh Seun Adedokun Polynomial Algorithm is significantly
better than the RSA cryptography in that i can compute e
=n based on the Seun Adedokun Polynomial Algorithm that i
formulate and therefore for a RSA CRYPTOGRAPHY that is
assumed to be computationally strong with a minimum value
of 65537 with the Seun Adedokun Polynomial Algorithm
that i formulate i can decrypt the RSA cryptography with a
value of e=n which is 16 thus showing The Seun Adedokun
Polynomial Algorithm that i formulate has a better computational complexity analysis that the RSA cryptography due to
the fact that i have formulated a better public key exponent
C. Analysis of the Computational complexity
I explain the code for the RSA Cryptography and i explain
the Seun Adedokun Polynomial Algorithm that i formulate
and that the Seun Adedokun Polynomial Algorithm is significantly better than the RSA cryptography
function modular multiplicative inverse
int t=0;
nt =1;
r=n;
if(n0)n=-n;
if (a < 0)a = n (a%n);
int nr= a % n;
while (nr !== 0) int quot=(r/nr) 0;
int tmp=nt ;
nt=t-quot*nt;
t=tmp int tmp=nr ;
nr=r-quot*nr;
r=tmp
if (r 1)cout -1
if (t0)t+=n;
cout t;
The function is the modular multiplicative inverse for the
computation of the private key exponent d
For the computation of the private key exponent d and the
public key exponent e
int p =randomp rime(1, 255);
int q= randomp rime(1, 255);
n=p * q;
t=(p-1) *(q-1);
e=randp rime(1, t);
d=modularmultiplicativeinverse(e, t);
cout n;
cout e;
cout d;
I explain the Seun Adedokun Polynomial Algorithm that i
formulated and the fact that the Seun Adedokun Polynomial
Algorithm is significantly better than the RSA Cryptography
From the computation of e=randp rime(1, t); if p = 4
and q=32 t=128 and if e=randp rime(1, t); is 65 therefore
e = 26 + 1 therefore if for the computation the public key
exponent has a value of 65 the Seun Adedokun Polynomial
Algorithm has a value of n=6 which shows that the Seun
Adedokun Polynomial Algorithm has a better computational
complexity analysis than the RSA cryptography Therefore
the Seun Adedokun Polynomial Algorithm for the analysis
is
int p =randomp rime(1, 255);
int q= randomp rime(1, 255);
n=p * q;
t=(p-1) *(q-1);
e=randp rime(1, t);
c = 2t1 d=modularmultiplicativeinverse(e, t);
cout c;
cout n;
cout e;
cout d;
F. Paillier Cryptosystem
H. Elgamal cryptosystem
The Elgamal encryption system is an asymmetric key
encryption algorithm for public key cryptography based on
teh diffie hellman analysis where its security depends on the
difficulty of of a certain problem in cyclic group related to
computing discrete logarithm
The Encryption
0
Bob sends the ciphertext (c1 c2 ) = (g y m hy ) to Alice where
g is a random generator value m is the message x y are
random values in the range 0 to q-1 h = g x
The Decryption
0
Alice then computes m = c2 s1 which she converts to the
0
message m where s = cx1 and c1 = g y and c2 = m s and
0
m is the message mapped to an element m of the cyclic
group
I show that the Seun Adedokun Polynomial Algorithm is
significantly better than the Elgamal cryptosystem based on
0
the analysis of the ciphertext message (c1 c2 ) = (g y m hy )
bob sends to alice
if Bob sends the three ciphertext message 64 257 129 to alice
which is of the exponential order O(26 )O(28 + 1)O(27 + 1)
then i show that the Seun Adedokun Polynomial Algorithm
that i formulate runs in a polynomial time of the order 6 8
7