https://github.com/ricky-ultimate/rust-rsa-encryption
https://github.com/ricky-ultimate/rust-rsa-encryption
cryptography rsa-encryption rust rust-lang
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ricky-ultimate/rust-rsa-encryption
- Owner: ricky-ultimate
- License: gpl-3.0
- Created: 2024-02-26T15:18:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T18:09:40.000Z (almost 2 years ago)
- Last Synced: 2024-03-28T18:52:35.580Z (almost 2 years ago)
- Topics: cryptography, rsa-encryption, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `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.