-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
23 lines (18 loc) · 970 Bytes
/
Main.java
File metadata and controls
23 lines (18 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.company;
public class Main { // CLASS: can call Main in other Java Classes
public static void main(String[] args) throws Exception { // MEMBER:
System.out.println("Program: To perform addition and multiplication operation on integer 10.");
System.out.println("------------------------------------------------------------------------");
MBRC var1 = new MBRC();
Sender var2 = new Sender(var1);
Receiver var3 = new Receiver(var1);
var2.start();
//var2.printMessage();
var3.printResult();
System.out.println("Program: An example about using confidentiality security from sender to the receiver.");
System.out.println("------------------------------------------------------------------------");
}
//Sender.printMessage(message);
//byte[] signedMessage = Sender.sign(message);
//MBRC.send(message, signedMessage);
}