C S 4 7

advertisement
C
S
4
7
6
/
5
7
6
A
s
s
i
g
n
m
e
n
t
#
5
Due Midnight, Thursday
Dec 3, 2009
Write a Java program with the following descriptions:
NAME
passwdServer - Get current time and use it as a seed to a
random number generator.
passwdClient - Provide a user interface to enter a password
and sent it to the passwdServer.
SYNOPSIS
java passwdServer
java passwdClient <host> <port>
DESCRIPTION
The passwdClient connects to the passwdServer and gets the
random number generator seed.
It then provides a randomly labeled keypad (0-9 and A-Z).
The clicks on the buttons that corresponds to the password.
Sends ONLY the indices (not the contents) of the buttons to
the server. The server translates the indices into the actual
password characters.
The passwdClient redraw another random keypad after the
submission of a password.
The following is a snap of my interfaces:
Download