I do want the client to write the key before server reading it.
Client - writes key on server to keyfile.txt ==> uses keyfile.txt from server to encrypt message string ==> creating cipherstream...
Type: Posts; User: drwatson
I do want the client to write the key before server reading it.
Client - writes key on server to keyfile.txt ==> uses keyfile.txt from server to encrypt message string ==> creating cipherstream...
With "KeyFile3.ser"? I sorry to bother you, but I'm lost.
IC - didn't think of that till just now.
I have the client looking at the server for the socket, so if I reverse it will error out too.
Any recommendations?
Server executed first, and client afterwards.
My intent is for the key to be read from:
out.writeObject(key1);
after the key has been made and stored.
1998
import java.io.*;
import java.net.*;
import java.security.*;
import javax.crypto.*;
public class CipherClient
{
public static void main(String[] args) throws Exception
{
// -Generate a...