Skip to content

🔒 Message encryption using the RSA algorithm.

Notifications You must be signed in to change notification settings

suivalf/RSAEncryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSAEncryption

🔒 Message encryption using the RSA algorithm. Implemented in Java. Using JavaFX for GUI.

RSA (Rivest–Shamir–Adleman) cryptosystem uses a public key for encrypting a message and a private key for decrypting it.

  1. Generate 2 (large) distinct prime numbers: p and q.
  2. Computes n = p*q
  3. Computes Ï•(n) = (p-1)(q-1)
  4. Select e between 1 and Ï•(n), having the property gcd(e, Ï•(n)) = 1.
  5. Computes d*e = mod(Ï•(n)). The public key is hte pair (n, e), while the private key is the pair (n, d)

About

🔒 Message encryption using the RSA algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages