This is My Computer Networking And Data Security Page (CMSC691N)
Project: Kerberos.zip
All Code Was Written and Compiled Using Microsoft Visual J++ 6.0
Java source files, class and compiled DOS executable are in Kerberos.zip.
Compiled on PII 266, 128MB Ram, Running MS WIN98 Version 2
The only functionality that does not work as desired is that the password, when entered still displays on the screen. I spent hours trying to get it to work, but had no success.
The key generation is done by finding the first prime number that is greater the product of the integer equivalents of the username and password, modulo some hard coded numbers.
The decryption is done by running the same algorithm in a private function and comparing it with the generated key from the login function.
There are only two users currently in the user database.
USER PASSWORD
usera password
userb foo
This is sufficient to verify the functionality.
First the user send their username to the server. If it is a valid username the encrypted key is returned. After 3 unsuccessful entries the program terminates.
Second enters their password. If it is a valid password the encrypted key is successfully verified. After 3 unsuccessful entries the program terminates.
Finally the user chooses the services to run or to terminate the session. The services offered are print, file, and internet. They are granted based on the session key.
Send Comments and Suggestion To: cespos2@gl.umbc.edu