19 lines
796 B
Markdown
19 lines
796 B
Markdown
## Java login
|
|
|
|
This is a basic cli java program that acts as a login screen.
|
|
|
|
--
|
|
Creds:
|
|
username: user
|
|
password: pass
|
|
## How it works
|
|
|
|
There are two classes one stores the correct pre hashed creds and another just named main that takes a user input username and password, hashes them then compares the hashes with the correct hashes.
|
|
|
|
## Future improvemnts
|
|
|
|
* The password field is currently displayed in plain text this is less than ideal for a password field so I intend to make a html or swing frontend for this program.
|
|
* Currently this doesn't do anything other than display a message but this could be intigrated into other programs
|
|
* Split the classes into seprate files so that one file stores the hashes seprate from the login action
|
|
* Add a Dockerfile to compile the program
|