moisutsu / rsa

RustによるRSA暗号の実装

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

Input

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

About

RustによるRSA暗号の実装


Languages

Language:Rust 100.0%