Skip to content

ricky-ultimate/rust-rsa-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unleash the Power of Encryption: Rust RSA Encryption

An RSA encryption implementation for secure data transmission, written in Rust.

Algorithm

  1. Choose p and q
  2. Compute n = p * q
  3. Compute φ(n) = (p - 1) * (q - 1)
  4. Choose e such that 1 < e < φ(n) and e and φ (n) are coprime.
  5. Compute a value for d such that (d * e) % φ(n) = 1.
  6. Public key is (e, n)
  7. Private key is (d, n)

Encryption

Using public key (e, n) $c = m ^ e mod n$

Features

  1. Lightning-fast performance: Experience unmatched speed thanks to the power of Rust, leaving other languages in the dust. ⚡️
  2. Bulletproof security: Rest easy knowing your data is protected by the battle-tested RSA algorithm and our meticulous coding practices.️
  3. Effortless usability: Enjoy an intuitive and user-friendly experience, making encryption accessible to everyone.
  4. Enhanced error handling for a smoother experience.

Releases

No releases published

Packages

No packages published

Languages