https://github.com/moisutsu/rsa
RustによるRSA暗号の実装
https://github.com/moisutsu/rsa
rsa rust
Last synced: 5 days ago
JSON representation
RustによるRSA暗号の実装
- Host: GitHub
- URL: https://github.com/moisutsu/rsa
- Owner: moisutsu
- Created: 2020-01-27T14:22:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T05:04:20.000Z (almost 5 years ago)
- Last Synced: 2025-03-12T16:44:59.570Z (over 1 year ago)
- Topics: rsa, rust
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to use
Input
```bash
cargo run -- --p 4133 --q 5987 --plaintext 19800101
```
Output
```
Plaintext = 19800101
p = 4133, q = 5987
EncryptionKey = (e: 3, n: 24744271)
DecryptionKey = (d: 16489435, n: 24744271)
Cryptogram = 13325250
DecryptedText = 19800101
```