Академический Документы
Профессиональный Документы
Культура Документы
EE16M044
Project report on
CAD for VLSI
Implementation of RSA algorithm in bluespec
Abstract: Implemented of RSA encryption-decryption in bluespec.
ALGORITHM DESCRIPTION :
RSA:
The RSA cryptosystem is simply modular exponentiation . Given public key(N,E) and private key(N,D),
the encryption operation is performed using the public key E as follows:
C=ME modN
Where M is the plaintext such that 0<M<N and C is the ciphertext which can be decrypted using the
secret key D as follows:
M=CD mod N
r= rc = MM(m, rr);
for i in 1 to k loop
r= MM (r,r);
end loop;
r= MM(r,1);//final result
R = 4937900
Conclusion: RSA module is working for any N bit encryption and decryption where N is in power of 2
provided valid keys are given.