Simple Authentication
Hi All
I am very new to Java with MySQL and to SQL language in general. I am trying to create a very simple program that takes a user id and password and 'authenticates' the user using a table in an SQL DB.
I looking for some help as to how best to do this. Can I simply use:
CREATE TABLE users (
id CHAR(10) NOT NULL,
passwordcrypt CHAR(20) NOT NULL,
PRIMARY KEY (id)
);
but then how do i handle the encyption of the password?
Or can i simply do this hashing technique? But is there a Java class that will simply handle this? All I want to be able to do is , in the simplest possible way, securley authenticate a user using Java and MySQL....is this possible?

