- Build
make
- Start the sending program.
./send
Enter your message.
- Start the receiving program in another terminal.
./receive
Then plain text is displayed.
- reset
make clean
- Build
make
- Start the receiving program.
./receive
Enter the message name you want to receive:
receiver.pub
will generate.
Then, it enters the standard input waiting state.
- Send a message in another terminal.
./send outMsg
outMsg
is the message name. You can replace it with any string.
outMsg.pub
(ephemeral public key) and outMsg.enc
(cipher text) will generate.
- Enter the message name for the receiving program.
./receive
Enter the message name you want to receive: outMsg
Then plain text is displayed.
- reset
make clean