-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
54 lines (40 loc) · 1.6 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Crypto Course Project - Variants of RSA
----------------------------------------
Language used:
--------------
JAVA
Tools used:
-----------
a. Eclispe IDE
Operating system:
-----------------
Platform independent (Windows and Linux supported)
Developement was carried out in Windows
Cryptosystems:
------------------------
a. Batch RSA (Batch_rsa.java)
b. Multi prime RSA (Mprime_rsa.java)
c. Multi power RSA (Mpower_rsa.java)
d. Rebalanced RSA (Rebalanced_rsa.java)
e. Rprime RSA (Rprime_rsa.java)
Sample Input and Output:
------------------------
Input message can be two or more numbers corresponding to messages of each client
Output:
p q 7 5
N 35phi 24
e[0]=11
e[1]=13
Ciphertext
c[0]=12
c[1]=19
a0 12463666194958415022960672768
phi 24
a 15843590513980756861726544522274859645842358460262515906665723642893152140257819257925547276598937726774087912029382069930418806578662090745781741989843389419551239813000266975674825128245532960272234448437896457156799531604937447824229338635801667345518271782241396394713227554032126984001382128920855566731881690302140112295859788138222468974366984016524588975097342171717670114505362387440356775273128343440594883158449669891178462872655125498171207043739983740290708677327750701396421416627113009664647926566365283875362461169135492785178290566275517755914548778158598718307471469230495524875905927330849996758888896631267683088534340036984832
Decrypted Plaintext
3
19
To Run the programs eclipse IDE for Java can be used
or the following commands are to be run:
1. javac name_of_program.java
2. java name_of_program