[home] [contents] [files] [md5] [sha1]

Test Asymmetric Ciphers

Functionally, the encryption process only requires the sender to have the recipient's public key, they don't need a private key or a key pair of their own - this is only useful for the recipient to verify the sender of a message, or the integrity of a message.
For this example, only the Modulus and Public Exponent were entered into the RSA page fields, and the Ciphertext was generated from our entered plaintext. The other fields were left blank.
For the decryption process, all of the fields required to be entered.

The following key is the same one used in the Key Breakdown example, that was generated using OpenSSL in Linux.


1024bit RSA Message Encryption Process:

Plaintext:
This is an encryption test with a 1024bit public exponent.

Ciphertext:
286bdc0df27e69600dfcafbc0d857b8a71d2f962077ee112e1a71ee3ed4edfe5
21acb15a1afcd1b2167fe35a6dee43cdd3d5564f2dfa0b485fea4f4ca6db7b2e
cb95ce6792e4d01d41e2afa2736c10476ab740095e2cbf5c25a200c2c59fc92c
60fa7dc5651d7fd5c2dc7a08d5375ffff9ce5af0602a1a1a838316f7d6ac0919

Modulus:
c78a46acb5cf3e23cd730a0fea596f1d32bf26aaf5d0dea6cf026bb4463c6865
5238eedbec91894501739fd2c3eb84eda752ea282678271d5d3adfd8934c4606
d6f72435a5b647a539413750e51ab9bbeb95de9324ef0ed5b389f7bab43a8e7a
addab4d76c2d4335afcf15e0196ad6dfedf7c1072d0818ed33735dbc22c85873

Public Exponent:
010001

1024bit RSA Message Decryption Process:

(Ciphertext as above)
(Modulus as above)

Private Exponent:
b4cd9762714efab84835bfdd51f47d99105d61f530cd74a1e31b076a8ee5b796
6f5d4519a38eefb9c629f59c6d881fa793a0aea978ca106f2c05e7c47f1b72aa
b0391b45865c95ebc535cb847ef16c43361d1a7afc47f21452ff55f9d37d4326
6d49954d04faf4ad8a4b4dd2d0b779b1f9844fb53b16c81d267e58e58b617ec9

prime1:
e6e8a04602a9f127066ae5228ef74e2d92211d6abbcb95b3fa738752e0f0f0fe
f0393294df84090285847bbef5a7d3dffc64c0fe4af40509cf42f5940f11b327

prime2:
dd390ba92bc0f7abc852ab2ad8ce189227888a18ef6c119e835c74412cdc70d1
85fe3c616168ae245b672973cf3345cbf826cd3e972504df92d1aaabe1590fd5

exponent1:
6209686af11c981f9a90ee0213331ac52c62d4eb891a31d03d48a9aedd844ebd
dede5a046d35d0e17a30ba9d640d425eb9f9491b6e55568248b6442ffd89e547

exponent2:
c0777317b9c36737834fb92fcbf473182560fb94fa28b1a391720c8aefb6d248
d824faef564a36c7d6e6080083d27df5196ed8be8dcd5d520e706fe69e665809

coefficient:
babae99a9aa3e6f834f3b66780a7c5191e6ba330e24ec2b90dc79357deca6b76
3e37397e5d64f10c15a4e183e1d9994abf8d3685911f5816315039f96641ff6f

[W3C Valid CSS 2]
[W3C Valid XHTML 1.1]